Get eclipse to read class-path from manifest [message #328912] |
Fri, 06 June 2008 15:19 |
Eclipse User |
|
|
|
Originally posted by: awynne.gmail.com
I have a project which has several dependency jars. One jar (eg main.jar)
contains the entire classpath of the application by using the Class-Path
option in the MANIFEST file. This comes in handy when writing launcher
scripts, which have to only specify one jar instead of every single one.
E.g.: java -classpath main.jar instead of java -classpath
main.jar:jar1.jar:jar2.jar:...
The problem is that I would like to use this same method of obtaining the
classpath from within eclipse. In other words, I would like to specify
main.jar as the only jar in the eclipse build path, but it doesn't seem
possible. Instead, I have to manually choose each and every dependency
jar then add each to the build path.
Any suggestions?
Thanks
|
|
|
Powered by
FUDForum. Page generated in 0.03183 seconds