ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From damar <>
Subject Re: New to the list and ant -- require your comments, please.
Date Thu, 27 Mar 2003 19:02:17 GMT
Hi Sebastien,

Thanks for your reply.

My build.xml has the following entry, and changing {dir.src} to 
src/WEB-INF/web.xml as well results the same:

<war warfile="${dir.lib}/${}.war"
       <classes dir="${dir.lib}/tmp"
       <fileset dir="${dir.content}"/>

I have not checked the document yet?



Sebastien Blanc wrote:

>Hi Damar,
>webxml is one of the attribute of war task, for instance
><war destfile="myapp.war" webxml="src/metadata/myapp.xml">
>here it looks that the build.xml defining this war task does not contain
>the webxml attribute (so I guess 'update' attribute is set to true).
>try to add the attribute to the build.xml to point to the WEB-INF/web.xml
>did u checkout the ANT docs/manual/CoreTasks/war.html page ?
>damar wrote:
>>I am using ant-1.5 to build enhydra/barracuda application.  On
>>completion of the building of war file, I get the following message:
>>[war] Warning: selected war files include a WEB-INF/web.xml which will
>>be ignored (please use webxml attribute to war task)
>>What does it mean, and how to use webxml attribute?
>>Please do consider I am new to ant.
>>To unsubscribe, e-mail:
>>For additional commands, e-mail:
>To unsubscribe, e-mail:
>For additional commands, e-mail:

View raw message