Community
Participate
Working Groups
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?
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.
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.