Example jar task using metainf nested tag?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Michael_Duffy
Posted On:   Friday, June 6, 2003 01:41 PM

The Ant 1.5 docs say the jar task allows a nested tag that gives a fileset that will end up in the META-INF directory of the jar. I tried it with the following XML: manifest="${manifest}/manifest.mf"> But Ant complained, saying Class org.apache.tools.ant.types.ZipFileSet doesn't support the ne sted "fileset" element. What is the proper syntax for the nested tag? Thanks - MOD    More>>


The Ant 1.5 docs say the jar task allows a nested tag that gives a fileset that will end up in the META-INF directory of the jar.




I tried it with the following XML:




			

manifest="${manifest}/manifest.mf">









But Ant complained, saying Class org.apache.tools.ant.types.ZipFileSet doesn't support the ne
sted "fileset" element.




What is the proper syntax for the nested tag? Thanks - MOD

   <<Less

Re: Example jar task using metainf nested tag?

Posted By:   Michael_Duffy  
Posted On:   Monday, June 9, 2003 05:29 AM


Google found it on the Web this weekend. It should be:










That got the context.xml into the meta-inf directory of the war file. The Ant docs weren't clear.

About | Sitemap | Contact