Bug 54137 - Need the ability to add external directories to a project build path
Summary: Need the ability to add external directories to a project build path
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.0 M8   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-09 09:34 EST by Ritchie Schacher CLA
Modified: 2007-09-10 13:53 EDT (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 Ritchie Schacher CLA 2004-03-09 09:34:15 EST
We have a scenario where we create a Java project and need to add classes from 
a folder in an external directory to the Java build path, and currently we 
cannot do this.

Is this something that is planned, or can be added, in an upcoming milestone?
Comment 1 Philipe Mulet CLA 2004-03-25 06:39:40 EST
Use linked source folders, so as to mount external directories containing 
files. These will be treated as normal resources from thereon, and you can add 
these to your classpath (think of symlinks).

In folder creation wizard, look under the "Advanced" button located right below 
the folder name input field.
Comment 2 Ritchie Schacher CLA 2004-03-25 08:00:14 EST
Ok, that's the workaround we've found also.  We weren't sure if there was ever 
a plan to directly add the directory to the classpath.

As an aside, might be nice if the build path wizard acually automated some of 
this.  Right now it's a multi step process for the user, and the user has to 
know that this is the way you do it.