I've written an ant task that extracts the classpath of a project form eclipse's .classpath file - so I don't need to maintain the project's dependencies both in eclipse and in my ant file.
This ant task works great and it makes my compilation ant scripts to be very elegant, short, and the most important thing maintainable.
In Eclipse you can use a pre-defined Libraries (under project > Properties > Java Build Path > Libraries), for example: Junit, Apache Tomcat, and JRE System Library. I am not talking about a user library
Each library hold a list of jars associated with it. I can see this list by expanding the library. Foe example the Juni4 library contains 2 jars: junit.jar
What keeps me from finalizing my work is that I don't know where eclipse stores the information about the jars inside the library.
-- Yonatan