wood burning stoves*
The moose likes IDEs, Version Control and other tools and the fly likes is it possible to set a variable in classpath in Eclipse 3.1 ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "is it possible to set a variable in classpath in Eclipse 3.1 ?" Watch "is it possible to set a variable in classpath in Eclipse 3.1 ?" New topic
Author

is it possible to set a variable in classpath in Eclipse 3.1 ?

Edward Chen
Ranch Hand

Joined: Dec 23, 2003
Posts: 798


I always have classpath problem in Eclipse 3.1. I want to import a pure ant project into a "java project" in Eclipse. Then I set a "lib" directory as library folder. For example, in the above ant task, it will be a big job to copy all jars in Spring to this "lib".

Now I am wondering, is it possible to set a variable in classpath, like


How to do this? I hope I make myself clear.

Thanks.

[edited to escape < so XML shows]
[ April 20, 2006: Message edited by: Jeanne Boyarsky ]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: is it possible to set a variable in classpath in Eclipse 3.1 ?
 
Similar Threads
Using Ant in Eclipse
Not able run junit test cases from ANT
ant tomcat dist -wrong file structure specified
Ant Build Failing -- Need a way to pick jar file during run time.
AndroMDA using Ant