ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Avery Marvin R <Marvin.R.Av...@irs.gov>
Subject Problem with metainf
Date Sat, 21 Feb 2004 00:43:09 GMT
My ant handbook tells me that this should work, but it doesn't. Here is
my jar target script-

	<target name="jar" depends="init, compile">
		
		<jar basedir="${dir_classes}"
destfile="${dir_jar}/${app.name}_batch.jar"
manifest="${dir_metadata}/META-INF/MANIFEST.MF"/>
		<metainf dir="${dir_metadata}/META-INF">
			<include name="*.xml"/>
			<include name="*.xmi"/>
		</metainf>
		
	</target>

When I run it I get the following

ant jar
.
.
.
jar:
      [jar] Building jar:
D:\view_root\marvins_dev_vu\cisprod\codebase\j2ee\batch\jar\CIS_batch.jar

BUILD FAILED
D:\view_root\marvins_dev_vu\cisprod\codebase\j2ee\batch\build.xml:100: Could
not create task or type
 of type: metainf.

Ant could not find the task or a class this task relies upon.
.
.
.




What am I doing wrong??? I'm using ant 1.6.1. Thanks in advance!

Marvin A

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message