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=17199>. 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=17199 patch to allow custom conditions (+ filters..) ------- Additional Comments From [EMAIL PROTECTED] 2003-02-25 14:31 ------- Made the following changes to the patch: 1) changed signature of mapper back to orignal ant and added an extra attribute to mapper <mapper map="custom or current"> This means that current java code that uses Mapper.java will still work. 2) As a result of this, the changes to taskdefs/optional/RenameExtensions.java have been reverted. 3) The patch was compressed (using gzip), it is now in uncompressed format. 4) Tested against current cvs of 25-feb-03. The use of Mapper is now: <target name="custom_mapper"> <path id="testclasses"> <pathelement location="../../../../build/testcases" /> <pathelement path="${java.class.path}" /> </path> <typedef name="custom_mapper" classname="org.apache.tools.ant.types.CustomMapper" classpathref="testclasses" /> <mkdir dir="customcopytest"/> <copy todir="customcopytest"> <fileset dir="../../../main"> <include name="**/taskdefs/*.java"/> </fileset> <mapper map="custom_mapper"/> </copy> </target>