Hi I know there are tons of articles about how to merge jars, but my problem is a little different.
I want to use a bash script to merge jar files. All my jar (from Processing) are lying in ./lib Here is what I do:
mkdir tmp FILES=lib/*.jar for T in $FILES; do (cd tmp; jar -xf ../$T) done jar -cfm combined.jar tmp/META-INF/MANIFEST.MF -C tmp . Of course I get a jar File but it's not really acting like it should.
BTW: I make sure that the jar extracted last is the main applications jar.
@reply the person you're responding to may not be notified you've replied.