You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Keith Hatton <kh...@axiomsystems.com> on 2004/01/08 16:27:12 UTC

RE: Help with 'war' task

Two possibilities:
1. use ant -verbose or ant -debug to see what is going on (it should tell you why it is NOT updating web.xml)

2. use <jar update="true" ...> as <zip>,<jar>,<war> are in many ways equivalent, but maybe <war> has special rules for the WEB-INF folder which <jar> will ignore (which is what you want in this case)

Hope this helps
Keith


-----Original Message-----
From: David Plass [mailto:DPlass@TCICREDIT.COM]
Sent: 08 January 2004 15:28
To: 'Ant Users List'
Subject: Help with 'war' task


I am trying to use the 'war' task to merely change the web.xml within the
WEB-INF directory;
I do not want to change any other files in the war.
I'm using the 'update=true' attribute, but it doesn't seem to overwrite the
web.xml file
Help!!!
TIA
--DP

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


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