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=21724>. 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=21724 filterset reference does not play well with antcall Summary: filterset reference does not play well with antcall Product: Ant Version: 1.5.3 Platform: Sun OS/Version: Linux Status: NEW Severity: Major Priority: Other Component: Core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Set up a filterset with a reference and multiple character tokens. Use said filterset inside an antcall. Does not work correctly. [EMAIL PROTECTED]:01pm]download/apache-ant-1.5.3-1/test(1027) cat build.xml <project name="test" default="copytest" basedir="."> <target name="copytest2"> <copy file="copytest.in" toFile="copytest1.out" overwrite="true"> <filterset refid="foo"/> </copy> </target> <target name="copytest"> <echo file="copytest.in">@@foo@@</echo> <filterset id="foo" begintoken="@@" endtoken="@@"> <filter token="foo" value="bar"/> </filterset> <antcall target="copytest2" inheritrefs="true"/> <copy file="copytest.in" toFile="copytest2.out" overwrite="true"> <filterset refid="foo"/> </copy> </target> </project> [EMAIL PROTECTED]:02pm]download/apache-ant-1.5.3-1/test(1028) ant Buildfile: build.xml copytest: copytest2: [copy] Copying 1 file to /opt/download/apache-ant-1.5.3-1/test [copy] Copying 1 file to /opt/download/apache-ant-1.5.3-1/test BUILD SUCCESSFUL Total time: 3 seconds [EMAIL PROTECTED]:02pm]download/apache-ant-1.5.3-1/test(1029) grep bar *out copytest1.out:@bar@ copytest2.out:bar Both should be plain `bar' without the @ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]