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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Creating Stand-Alone jar with only dependent classes
 
Similar Threads
Using Eclipse 3.1.0 IDE, JBOSS 4.0.0 server & ANT as build tool
organizing classes into packages
how to create WAR files
Creating JAR with only dependent classes
include jar in an executable jar