dcsimg
Create a JAR without a Manifest using ANT
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

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?



Thanks,

Gregg

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.



manifest



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




No


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