Create a JAR without a Manifest using ANT
1 posts in topic
Flat View  Flat View

Posted By:   Gregg_Hinkle
Posted On:   Tuesday, September 6, 2005 02:59 PM

Using the JDK, you can create a jar file without a manifest:

jar cvfM myjar *.class

However, I have not been able to figure out how to create a jar using ANT without a manifest. Any ideas?



Re: Create a JAR without a Manifest using ANT

Posted By:   Roseanne_Zhang  
Posted On:   Tuesday, September 13, 2005 01:26 PM

manifest is not required for jar ant task.


the manifest file to use. This can be either the location of a manifest, or the name of a jar added through a fileset. If its the name of an added jar, the task expects the manifest to be in the jar at META-INF/MANIFEST.MF


Copied from ant menual.

Ant jar task will create a default one for you.

Use nested manifest element to define your own customized menifest.

About | Sitemap | Contact