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

Reply via email to