| 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
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) > > >
|
|
 |