Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360856 - StandaloneSetup.scanClassPath ignores output folders with multiple segments
Summary: StandaloneSetup.scanClassPath ignores output folders with multiple segments
Status: RESOLVED FIXED
Alias: None
Product: EMFT
Classification: Modeling
Component: MWE (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-13 11:59 EDT by Kai Kreuzer CLA
Modified: 2020-10-19 09:16 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Kreuzer CLA 2011-10-13 11:59:34 EDT
Build Identifier: Commit 4844e67c950a142c3debcffc0d6e9a2714c40890 (2011-09-27 10:55:09 (EDT)

StandaloneSetup.scanClassPath checks in line 127 if the entry is a bin folder of an Eclipse project. If the output folder path contains multiple segments (e.g. "target/classes" instead of the standard "bin", this check fails and thus the project is ignored.
I'd suggest to do a loop to check if there's a .project file in any parent folder.


Reproducible: Always
Comment 1 Christian Dietrich CLA 2020-10-19 09:16:33 EDT
this is fixed for a while now