Bug 26806 - Source build path should allow subdirectories of directories already on path
Summary: Source build path should allow subdirectories of directories already on path
Status: RESOLVED DUPLICATE of bug 25928
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0.2   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: 2.1 M4   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-20 16:06 EST by David Chase CLA
Modified: 2002-11-20 16:57 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Chase CLA 2002-11-20 16:06:49 EST
I work with people who have created a (CVS) source directory
structure where one entry on the classpath is a subdirectory
of another -- e.g., CLASSPATH=a:a/b/c

Eclipse does not allow me to have two subdirectories on the
source build path, despite that the fact that (quoting
colleague) "it works for me with emacs and ant!".

And, in fact, it will usually work, though there are some in-theory-this-
will-fail scenarios that this sort of classpath enables.

My workaround, for now, is to ignore all the files that fail to compile
because they reference classes found in the forbidden directories.  I
have no objection to Eclipse making all sorts of insulting remarks when
someone tries to do this, as long as it is at least allowed -- in my
experience, it is easier to fix software than it is to convince someone
else that they have made a mistake.
Comment 1 Philipe Mulet CLA 2002-11-20 16:53:45 EST
We want to allow nesting source folders (when excluding the nested one from the 
enclosing one).

This is on the plan for M4.
Comment 2 Philipe Mulet CLA 2002-11-20 16:57:04 EST

*** This bug has been marked as a duplicate of 25928 ***