ant-user mailing list archives

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

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"/>	

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 

Any suggestions?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message