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 19523] - zip/unzip should have the capability to use a mapper
Date Mon, 05 May 2003 17:36:09 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=19523>.
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=19523

zip/unzip should have the capability to use a mapper





------- Additional Comments From kovesp@sympatico.ca  2003-05-05 17:36 -------
The posted jar contains a custom task for Ant 1.5.3 which supports the 
extensions listed in my previous post. To use, save the attachment as a jar 
(say zipx.jar) and add

<taskdef name="zipx" classname="org.kp.ant.taskdefs.Zip" classpath="zipx.jar"/>

to the build-file. The you can say, e.g.,
<zipx destfile="myZip.zip">
  <zipgroupfileset dir="someDir">
     <filename name="prod*.zip"/>
     <contentmapper type="glob" from="bin/*" to="*"/>
     <contentselector><filename name="com/utils/**/*.class"/>
  </zipgroupfileset>
</zipx>


I am still looking for a response from someone with the time and willingness 
to integrated this into the 1.6 codebase (shouldn't be more than about an hour 
of work). I am quite unfamiliar with CVS, that is why I am hesitant to do it 
myself.

Mime
View raw message