Community
Participate
Working Groups
When creating a Run Configuration for an Ant build file, the developer has the possibility of adding items to the classpath via the "Classpath" tab. In contrary to other Run Configurations, the Ant Run Configuration dialog does not permit the user to add a "User Library" to the classpath (currently accepts individual JARs, external JARs, folders and variables). It may be useful for developers to be able to specify custom pre-defined User Libraries as classpath entries in Ant Run Configurations.
On the same note, and for the same reasons, perhaps enabling the developer to also add Classpath Variables?
In what respect is a "User Library" different than a folder or classpath variable? Is there anything you *can not* do with Eclipse today, or is there a workaround? I can't really see the problem here. Perhaps we could resolve this WORKSFORME as per Eclipse 3.5 ?
agreed
(In reply to comment #2) > In what respect is a "User Library" different than a folder or classpath > variable? Is there anything you *can not* do with Eclipse today, or is there a > workaround? > I can't really see the problem here. Perhaps we could resolve this WORKSFORME > as per Eclipse 3.5 ? I think it's just convenience... If there is a user library already set up that contains other libraries, perhaps it's just a more convenient way to add things to the classpath.
Hi Martin, Sorry, was away for a few days. Darin's response was correct. Under certain circumstances, using a classpath variable or a user library is a much more convenient way to add things to the classpath than attaching individual JAR files. This also holds in case I'd like to store the Launch Configuration in my SCM and don't want to hold absolute, machine-specific locations there. There's nothing broken in the current behavior - it is just inconsistent (other places within Eclipse allow you to add user libraries and classpath variables. For example, you can add a user library to a Java Launch Configuration... so why not allow it for Ant Launch Configurations?) Re-opening...