Java Mailing List Archive

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

Apache Ant Archive

» Ant Users List
» Ant Developers List
lib subtask of war broken in 1.5.2

lib subtask of war broken in 1.5.2

2003-03-07       - By Sonnek, Ryan
Reply:     1     2  

working with ant 1.5.2 on win2k, my 'war' task has broken from version 1.5.1
to 1.5.2.  the <lib> subtask does not include the files from my project.dist
directory.  this works fine in version 1.5.1, but not since i upgraded to
1.5.2.  

here's the war task from my buildfile:
   <war
    warfile="${client.war.dist}"
    webxml="${client.war.webxml}"
    manifest="${client.war.manifest}">
     <fileset dir="${project.web}" />
     <fileset dir="." >
       <include name="${project.doc}/**" />
     </fileset>
     <lib dir="${project.lib}">
       <include name="${jstl.filename}" />
       <include name="${standard.filename}" />
     </lib>
     <lib dir="${project.dist}">
       <include name="${client.filename}" />
       <include name="${client.test.filename}" />
     </lib>
     <classes dir="${project.classes}">
       <include name="**/web/*" />
     </classes>
     <webinf dir="${client.war.webinf}" >
       <exclude name="web.xml" />
     </webinf>
     <metainf dir="${client.war.metainf}" >
       <exclude name="manifest.mf" />
     </metainf>
   </war>

let me know if i can provide anything else.
Ryan


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