ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tino Schöllhorn <t.schoellh...@tiscali.de>
Subject CREATING WAR-Files
Date Fri, 23 Jan 2004 11:07:24 GMT
Hi,

I have a weird problem with ant (1.5.4 and 1.6.0). I am trying to create 
a quite simple JAR-file with the follwing target:

<target name="create-war">
	<property name="war-base value="${local-tomcat}/webapps/kos"/>
		
	<war destfile="dist/kos.war" webxml="${war-base}/WEB-INF/web.xml">
			<classes dir="${war-base}/WEB-INF/classes"/>
			<classes dir="${war-base}/WEB-INF/lib"/>	
		</war>
	</target>


The target executes fine - but the entry in the WAR-File for the 
web.xml-File is not in the path WEB-INF but in the path web-inf. So I 
can't deploy this JAR-File in Tomcat (Tomcat says that it can't find the 
web.xml-File).

Any suggestions?

Tino



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message