You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Tino Schöllhorn <t....@tiscali.de> on 2004/01/23 12:07:24 UTC
CREATING WAR-Files
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