aspose file tools*
The moose likes Java in General and the fly likes Creating Stand-Alone jar with only dependent classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Creating Stand-Alone jar with only dependent classes" Watch "Creating Stand-Alone jar with only dependent classes" New topic
Author

Creating Stand-Alone jar with only dependent classes

Daniel Puryear
Greenhorn

Joined: Jun 02, 2002
Posts: 22
I'd like to deploy an app in a standalone jar file, but instead of pulling in entire libraries of jar files, I'd like to start with the main class and walk backwards, pulling in ONLY the classes neeeded by the application. I use to use Visual Cafe and it did it auto-magically but I'm now using Eclipse with occasional use of Ant with batch commands.
Would anyone like to share some Ant task or the like. It would sure save a lot of time! I'll post back if/when I get a process working...
-Danman
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Creating Stand-Alone jar with only dependent classes
 
Similar Threads
how to create WAR files
Creating JAR with only dependent classes
Using Eclipse 3.1.0 IDE, JBOSS 4.0.0 server & ANT as build tool
organizing classes into packages
include jar in an executable jar