ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilja Preuss" <pre...@disy.net>
Subject AW: New to the list and ant -- require your comments, please.
Date Fri, 28 Mar 2003 10:22:21 GMT

> Can any one point me what may have gone wrong here?  I am using 
> Enhydra5.0, under Debian3.0.

Either ${dir.lib}/tmp or ${dir.content} does also contain a web.xml
file. Ant is just warning you that it will ignore that one and instead
use the one specified explicitely via the attribute. If you are OK with
that behaviour, you can safely ignore the warning.


> damar wrote:
> 
> > 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@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