ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19247] - zipfileset: 'src' does not replace 'dir' attribute
Date Wed, 23 Apr 2003 14:32:08 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19247>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19247

zipfileset: 'src' does not replace 'dir' attribute





------- Additional Comments From levylambert@tiscali-dsl.de  2003-04-23 14:32 -------
Are you sure that your problem is with ant 1.5.3 ?

zipfilesets can be nested in the war task under ant 1.5.3 I have just tried it.
However the classes nested element is probably better for what you need to do.
you should try this
<war ...>
 <classes src="myclient.jar/>
</war>
I have just tried the following under ant 1.5.3 without a problem :
<project name="war" default="war">
<target name="war">
<fileset id="myfileset" dir="C:/antoine/tools" includes="*.jar"/>
<war destfile="myapp.war" webxml="src/metadata/myapp.xml">
  <fileset dir="src/html/myapp"/>
  <fileset dir="src/jsp/myapp"/>
  <classes src="C:/antoine/tools/jdbc2_0-stdext.jar"/>
  <lib refid="myfileset">
  </lib>
  <classes dir="build/main"/>
  <zipfileset dir="src/graphics/images/gifs" 
              prefix="images"/>
</war>
</target>
</project>

Mime
View raw message