Hi Denis,

it works for me with ant 1.6.4 .

???

Regards

Frank

Quoting Denis Bessmertnyj <[EMAIL PROTECTED]>:

Hi Frank.

It doesn't work.

----- Original Message ----- From: "Frank Harnack" <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>:

It's Since Ant 1.7, but I use Ant 1.6.

-
Denis
----- Original Message ----- From: "Martin Gainty" <[EMAIL PROTECTED]>
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" <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




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



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




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


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




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

Reply via email to