Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 360856

Summary: StandaloneSetup.scanClassPath ignores output folders with multiple segments
Product: [Modeling] EMFT Reporter: Kai Kreuzer <kai>
Component: MWEAssignee: Project Inbox <emft-mwe-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: christian.dietrich.opensource
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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