Community
Participate
Working Groups
Steps: Open the "properties" window on a Java project and go to the "source" tab. Add a folder as the source to a project, structure of the folder should be as follows: project + com + compuware + ... + classes Now add the "classes" directory to be excluded from building by adding it to the exclusion filter. Enable "allow output folders for source folders" and try to select "classes" as the output folder. The wizard does not allow me to do so, although it should (I am ignoring it as a source path).
Which folder is the source folder in our scenario.
In the case above I want to use "project" as my source folder. A better example would indeed be: project + sub1 + com + ... + classes + sub2 In this case I would like to use "sub1" and "sub2" as source folders. And for "sub1" I exclude "classes" but do want to use "classes" to put my compiled class files into.
Philippe, can you shed some light on this from a JDT/Core point of view.
This is still forbidden in 3.0. Looks like the check for nesting output folders in source entry isn't considered exclusion rules. I agree it should allow this scenario (on the surface).
Support added. Fixed
*** Bug 48301 has been marked as a duplicate of this bug. ***
Verified for 3.0M6