You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Denis Bessmertnyj <db...@isd.dp.ua> on 2007/04/27 09:14:29 UTC

Re: Warning: selected war files include a WEB-INF/web.xml whichwill be ignored (please use webxml attribute to war task)

Hi Frank.

It doesn't work.

----- Original Message ----- 
From: "Frank Harnack" <ha...@mail05.harlau.de>
To: <us...@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 <db...@isd.dp.ua>:

> It's Since Ant 1.7, but I use Ant 1.6.
>
> -
> Denis
> ----- Original Message ----- From: "Martin Gainty" <mg...@hotmail.com>
> To: "Ant Users List" <us...@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" <db...@isd.dp.ua>
>> To: "Ant Users List" <us...@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


Re: Warning: selected war files include a WEB-INF/web.xml whichwill be ignored (please use webxml attribute to war task)

Posted by Frank Harnack <ha...@mail05.harlau.de>.
Hi Denis,

it works for me with ant 1.6.4 .

???

Regards

Frank

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

> Hi Frank.
>
> It doesn't work.
>
> ----- Original Message ----- From: "Frank Harnack"   
> <ha...@mail05.harlau.de>
> To: <us...@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 <db...@isd.dp.ua>:
>
>> It's Since Ant 1.7, but I use Ant 1.6.
>>
>> -
>> Denis
>> ----- Original Message ----- From: "Martin Gainty" <mg...@hotmail.com>
>> To: "Ant Users List" <us...@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" <db...@isd.dp.ua>
>>> To: "Ant Users List" <us...@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




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