Todd Patrick wrote:
Steve:

Thank you for the explanation ( and answering my other WAR task email ).

To my understanding, could I move the web.xml out of the WEB-INF
directory and instead of using:

<war destfile="${dist}/PetroAdminEA-war.war"
webxml="web/WEB-INF/web.xml">

I should use:

<war destfile="${dist}/PetroAdminEA-war.war" webxml="web/web.xml">


Both will work. the first should be smart enough to recognise its the same file and not tell you off; I spent some time trying to reduce the amount of time that <war> told me off, but found it a bit of a losing battle.

The <jar> task does everything you need without any complaints., BTW.



--
Steve Loughran                  http://www.1060.org/blogxter/publish/5
Author: Ant in Action           http://antbook.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to