Scot P. Floess | 1 Mar 2011 15:30
Picon
Gravatar

Re: Pull multiple .class files from multiple .jars into one .jar

Sorry, my example is slightly wrong...

I mean:

Jar 1
-----
Foo.class (inherits Bar.class)
Bar.class

Jar 2
-----
Alpha.class (inherits Beta.class)
Beta.class

New Jar
-------
Foo.class
Alpha.class

On Tue, 1 Mar 2011, Scot P. Floess wrote:

>
> You can certainly unjar all the jars...apply your patternset for those class 
> files and jar those into the new jar...
>
> However, should you want to use this jar file by itself (meaning without the 
> original jar files), you may find yourself getting 
> ClassNotFoundException's...
>
> For example, assume you have the following:
(Continue reading)


Gmane