Bug 39539 - Cannot select excluded directory as output folder for class files
Summary: Cannot select excluded directory as output folder for class files
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 M6   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 48301 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-07-02 08:01 EDT by Bastiaan Schönhage CLA
Modified: 2003-12-17 07:44 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bastiaan Schönhage CLA 2003-07-02 08:01:14 EDT
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).
Comment 1 Dirk Baeumer CLA 2003-07-02 09:09:41 EDT
Which folder is the source folder in our scenario.
Comment 2 Bastiaan Schönhage CLA 2003-07-02 09:26:18 EDT
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.
Comment 3 Dirk Baeumer CLA 2003-07-02 09:49:54 EDT
Philippe, can you shed some light on this from a JDT/Core point of view.
Comment 4 Philipe Mulet CLA 2003-12-08 08:02:05 EST
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).
Comment 5 Philipe Mulet CLA 2003-12-08 10:03:58 EST
Support added. Fixed
Comment 6 Philipe Mulet CLA 2003-12-08 15:12:15 EST
*** Bug 48301 has been marked as a duplicate of this bug. ***
Comment 7 David Audel CLA 2003-12-17 07:44:54 EST
Verified for 3.0M6