Nope. I've just upgraded to Ant 1.5.1 But I see the error right now. I should be using the webinf directive together with a fileset includes="**/tlds/*"
Thanks Christopher > -----Original Message----- > From: Larry Isaacs [mailto:Larry.Isaacs@;sas.com] > Sent: den 18 oktober 2002 15:24 > To: Tomcat Users List > Subject: RE: How can I make ANT build a .war WITH my tlds? > > > It looks like you are using Ant 1.4.x. The improved War task > in Ant 1.5.x appears to address your issue with nested > "lib" "classes" "webinf" and "metainf" elements that specify > FileSets. For details, see: > > <http://jakarta.apache.org/ant/manual/index.html> > > Cheers, > Larry > > > -----Original Message----- > > From: Cato, Christopher [mailto:ccato@;rational.com] > > Sent: Friday, October 18, 2002 8:58 AM > > To: 'Tomcat Users List' > > Subject: How can I make ANT build a .war WITH my tlds? > > > > > > Hi. I have a small problem with ANT. > > > > When I try to build a .war for distribution, everything goes > > fine except the > > creation of the tlds directory which should reside in WEB-INF. > > > > Here is the dist target part of my build.xml: > > > > <target name="dist" depends="clean,prepare,compile"> > > <war destfile="${dist.home}/${app.name}.war" > > webxml="z:/eroc/etc/web.xml"> > > <fileset dir="z:/eroc/etc" excludes="web.xml"/> > > <fileset dir="z:/eroc/web" excludes="cgi/*"/> > > <fileset dir="z:/eroc/web/images"/> > > <fileset dir="z:/eroc/web/include"/> > > <fileset dir="z:/eroc/src/tlds"/> <-- this obviously > > doesnt work > > <lib dir="z:/eroc/lib"/> > > <classes dir="${deploy.home}/WEB-INF/classes"/> > > </war> > > </target> > > > > /Christopher > > > > -- > To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
