ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wolverine my <>
Subject War task to include multiple lib files?
Date Tue, 30 Aug 2005 06:06:21 GMT
 I'm using Ant 1.6.5 and I have the following Ant task:
  <war destfile="${dist.dir}/${ <>}.war" webxml="${
<classes dir="${build.dir}/WEB-INF/classes"/>
<lib dir="${lib.dir}">
<filename name="a.jar"/>
<filename name="b.jar"/>
<metainf dir="${web.dir}/WEB-INF">
<filename name="context.xml"/>
 The Ant task is executed successfully but there is no WEB-INF/lib archived 
in the WAR file.
However if I delete "b.jar" from the <lib> then the WAR will contains 
 What could be the problem? Can we specify more than one file for <lib>?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message