aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes eclipse: export tool Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "eclipse: export tool " Watch "eclipse: export tool " New topic
Author

eclipse: export tool

manuel aldana
Ranch Hand

Joined: Dec 29, 2005
Posts: 308
hi,

i want to include neccessary jars into my main application. eclipse offers Export->Jar for that. my aim is to deliver one jar, where the user does not need to include any jars into classpath.

eclipse export therefore packs used libraries into lib/ directory, but it does not put any classpath entries into MANIFEST.mf, so the libraries are not included into the classpath.

am i doing something wrong through the export dialog or do i need to add included libraries into MANFIEST.mf manually?

thanks.


aldana software engineering blog & .more
manuel aldana
Ranch Hand

Joined: Dec 29, 2005
Posts: 308
i just read that unless you implement a special classloader other jars inside a jar you cannot use these libs.

it seems that eclipse doesn't offer Class-path: option for it does not know where to find these jars in production delivery anway.
so i need to type in long ugly .jar names in a custom MANIFEST.MF .
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: eclipse: export tool