I am working on a GUI application and would rather distribute just one jar as opposed to multiple ones.
Can you control this with the manifest.
I am working on a GUI application and would rather distribute just one jar as opposed to multiple ones.
Can you control this with the manifest.
You need to be careful when doing this. If the jars you are merging have manifest files with critical information - these can get lost, only the last file will get merged.
E.g. If you merge JavaMail - the manifest file is important. If you lose it - bad things csn happen.
The safest thing to do is to look at each jar file and check the manifest file.
Have a look on the below link. Use Netbeans 6.7.1 to combine multiple jars into 1 jar
http://java.sun.com/developer/technicalArticles/java%5Fwarehouse/single%5Fjar/
Thanks Sunil Kumar Sahoo