Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Get eclipse to read class-path from manifest
Get eclipse to read class-path from manifest [message #328912] Fri, 06 June 2008 15:19
Eclipse UserFriend
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
Previous Topic:ScrolledForm, Form and ManagedForm
Next Topic:Confused with actions
Goto Forum:
  


Current Time: Mon Dec 30 17:31:15 GMT 2024

Powered by FUDForum. Page generated in 0.03183 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top