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=20485>. 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=20485 The <sync> task doesn't support the nested "filterset" element Summary: The <sync> task doesn't support the nested "filterset" element Product: Ant Version: 1.6Alpha (nightly) Platform: PC OS/Version: Windows XP Status: NEW Severity: Enhancement Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] My buildfile used to <copy> the scripts files to the dist directory. After changing the file names in my scripts dir, the old file were not deleted when I build. I want to use the <sync> task but it doesn't support <filterset> which I use in the <copy>. I can't use the <filter> task as well since <sync> doesn't support the filtering attribute. Here is my dist target: <target name="dist" depends="pack" description="--> Make a lite-dist of the project"> <!-- Distribute the lib directory --> <mkdir dir="${dist.lib.dir}"/> <sync todir="${dist.lib.dir}"> <fileset dir="${build.lib.dir}"/> </sync> <!-- Distribute the bin directory --> <mkdir dir="${dist.bin.dir}"/> <pathconvert targetos="windows" property="server.rt.classpath.text" refid="server.rt.classpath"> <map from="${basedir}\${dist.lib.dir}" to="..\lib"/> </pathconvert> <sync todir="${dist.bin.dir}"> <fileset dir="${scripts.dir}"/> <filterset> <filter token="SERVERCP" value="${server.rt.classpath.text}"/> <filter token="SERVERMAIN" value="${server.main.class}"/> </filterset> </sync> </target> - Gu