ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Bessmertnyj" <d...@isd.dp.ua>
Subject Re: Warning: selected war files include a WEB-INF/web.xml whichwill be ignored (please use webxml attribute to war task)
Date Fri, 27 Apr 2007 07:14:29 GMT
Hi Frank.

It doesn't work.

----- Original Message ----- 
From: "Frank Harnack" <harnackf@mail05.harlau.de>
To: <user@ant.apache.org>
Sent: Friday, April 27, 2007 9:54 AM
Subject: Re: Warning: selected war files include a WEB-INF/web.xml whichwill 
be ignored (please use webxml attribute to war task)


Hello Denis,

<war basedir="." webxml="web.xml" destfile="webapp.war"
excludes="WEB-INF/web.xml"/>

should work.

Regards

Frank



Quoting Denis Bessmertnyj <dbes@isd.dp.ua>:

> It's Since Ant 1.7, but I use Ant 1.6.
>
> -
> Denis
> ----- Original Message ----- From: "Martin Gainty" <mgainty@hotmail.com>
> To: "Ant Users List" <user@ant.apache.org>
> Sent: Thursday, April 26, 2007 7:30 PM
> Subject: Re: Warning: selected war files include a WEB-INF/web.xml
> which will be ignored (please use webxml attribute to war task)
>
>
>> 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
>>
>
>
> ---------------------------------------------------------------------
> 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


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


Mime
View raw message