ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Davidson" <tim.david...@greenhatconsulting.com>
Subject Problems with WAR definition
Date Tue, 29 Jul 2003 11:58:00 GMT
Hi,
I have Ant up and running, but the <lib> and <classes> nested elements of a <war>
don't appear to be working. What am i doing wrong?
Fileset works fine, when I use this it works ok:

<!-- Create the WAR file -->
<war destfile="${dist}/CRiSP_${FILE_TSTAMP}.war" webxml="/crisp/web-inf/web.xml">

   <fileset dir="com/ghc/crisp">
      <include name="**/*.class"/>
   </fileset>

   <fileset dir="f:/jars/">
      <include name="*.jar"/>
   </fileset>

</war>

but when I try the same approach with the <lib> and <classes> the resulting WAR
file is empty (apart from the manifest file):

<!-- Create the WAR file -->
<war destfile="${dist}/CRiSP_${FILE_TSTAMP}.war" webxml="/crisp/web-inf/web.xml">

   <classes dir="com/ghc/crisp"/>

   <lib dir="f:/jars/"/>

</war>

Can anyone help me?

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message