Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
New to the list and ant -- require your comments, please.

New to the list and ant -- require your comments, please.

2003-03-28       - By damar
Reply:     1     2     3     4     5     6     7     8     9  

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}/${project.name}.war"
        webxml="${dir.src}/WEB-INF/web.xml">
      <classes dir="${dir.lib}/tmp"
               excludes="**/*.java"/>
      <fileset dir="${dir.content}"/>
   </war>

I have not checked the document yet?

Thanks,

Damar

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
>location.
>did u checkout the ANT docs/manual/CoreTasks/war.html page ?
>seb.
>
>damar wrote:
>
>  
>
>>Hi,
>>
>>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.
>>
>>Thanks.
>>
>>Damar
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: user-unsubscribe@(protected)
>>For additional commands, e-mail: user-help@(protected)
>>    
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@(protected)
>For additional commands, e-mail: user-help@(protected)
>
>  
>




©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.