ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: Warning: selected war files include a WEB-INF/web.xml which will be ignored (please use webxml attribute to war task)
Date Thu, 26 Apr 2007 16:30:42 GMT
attribute
needxmlfile="true"
(to require web.xml for war task)

HTH
M--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

----- Original Message ----- 
From: "Denis Bessmertnyj" <dbes@isd.dp.ua>
To: "Ant Users List" <user@ant.apache.org>
Sent: Thursday, April 26, 2007 12:17 PM
Subject: Warning: selected war files include a WEB-INF/web.xml which will be 
ignored (please use webxml attribute to war task)


> Hi,
>
> how I may escape this warning message in War task
>      [war] Warning: selected war files include a WEB-INF/web.xml which 
> will be ignored (please use webxml attribute to war task)
>
> Here my war task
> <war basedir="." webxml="web.xml" destfile="webapp.war"/>
>
> As you see I have webxml attribute and it refs correctly.
> But in web application files in WEB-INF directory I also have web.xml
> which I want to replace by webxml="web.xml" attribute.
>
> How I may suppress this warning message?
>
>
> ---------------------------------------------------------------------
> 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


Mime
View raw message