Trying to integrate <http://ant.apache.org/manual/CoreTasks/manifest.html> into my build code. the example doesn't include the "jar" tags.
my target: <target name="package1" depends="manifest2"> <jar jarfile="${outputDir}/${mainClass1}.jar" basedir="${outputDir}" manifest="${outputDir}/MANIFEST.MF" /> </target> intuitively, it should be: <target name="package1" depends="manifest2"> <jar jarfile="${outputDir}/${mainClass1}.jar" basedir="${outputDir}" <manifest> manifest="${outputDir}/MANIFEST.MF" </manifest> /> </target> but this gives an error: BUILD FAILED D:\build.xml:37: Element type "jar" must be followed by either attribute specifications, ">" or "/>". which doesn't follow for me, as manifest is nested within jar. what does the error mean, please? thanks, Thufir --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]