M
Malte
Oracle JDeveloper does this.Giovanni said:Hello all,
Every time I want to deploy a jar being whether a Swing app
or Java API inside Oracle I make the jar contain all dependencies
like e.g. xerces.jar this avoids the need to configure class path
at client side etc. This works nicely but my jars get quite inflated ...
is there any tool for finding and assembling jars including from
dependencies ONLY the needed classes and not the whole
dependency jars ...
A clear example is Log4J, in order to include the latest version
-even if you only use the very basic functionality- you have to
burden with all the e.g. jmx, viewer and lf5 packages ...
I think a tool like this should be able to:
- examine your jar parse it to get exactly all dependencies
- examine recursively all dependencies for dependencies
-of course- leaving out those that come with the JRE.
- Build a new jar containing only what's needed ...
If this kind of tool does not exist would you agree it should
have a good market?
Thanks in advance,
Best Regards,
Giovanni