Hi, I propose to create a task that reads in the output of java -verbose:class MyApp (stored in a file) and create a jar file that contains all the classes that were loaded to run MyApp.
The use case is described here (though the implementation is not quite elegant enough) http://www.michaelmoser.org/jarjar/jarjar.htm Weblogic ships with a verboseToZip utility too, primarily to create a jar that contains just those weblogic files that are needed for a remote EJB client to run without having to have the huge weblogic.jar copied over to the client machine as well. The task's syntax would be: <verbosetojar srcFile="verbose.txt" destFile="mini.jar" <!-- optional --> manifest="mymanifest.mf"> <!-- optional --> <patternset> <exclude name="java**"/> </patternset> </verbosetojar> Would such a task be useful? Cheers, Magesh ************************************************** * Opportunist: A person who starts taking bath * * if he accidentally falls into a river. * ************************************************** -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
