JAR file folder for eclipse projects

Posted by Daff on Stack Overflow See other posts from Stack Overflow or by Daff
Published on 2009-07-28T13:30:06Z Indexed on 2010/05/31 15:02 UTC
Read the original article Hit count: 164

Filed under:
|
|
|

I'm trying to create a centralized folder (in some kind of a "meta project" in my eclipse workspace) for commonly used JAR files for referenced projects in this workspace. It should work similar to the WEB-INF/lib folder for web projects but also apply to non web projects, and automatically scan and add all jar files in this folder.

I tried to create a user library with these jar files and reference them in the project but I still have to add every new jar manually to the user library (and don't know if it is referenced relative of absoulute) and Tomcat (WTP) doesn't seem to take these files (Run As -> Run on Server) into its classpath (and I don't want to duplicate the jars and put them into WEB-INF/lib). Any ideas?

© Stack Overflow or respective owner

Related posts about java

Related posts about eclipse