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=25944>. 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=25944 Using filter in copy task reports Inifinite loop in tokens. Summary: Using filter in copy task reports Inifinite loop in tokens. Product: Ant Version: 1.6.0 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] >From tokens (tokens to be replaced): PRODUCT_VERSION=6.2.1.4 PRODUCT_BUILD=6.5 (BLD_65036) Replacement commands: <copy todir="sometodir" overwrite="true"> <fileset dir="somefromdir" > <include name="**/*.*" /> </fileset> <filterset begintoken="6" endtoken="4"> <filter token=".2.1." value="${product.dottedbuildnum}" /> </filterset> <filterset begintoken="6" endtoken=")"> <filter token=".5 (BLD_65036" value="${product.majorrev}.${product.minorrev} (${build.number})" /> </filterset> </copy> Leads to incorrect resultant string - resultant string should be same format, but different numbers - the actual string I get is the original strings with the first and last tokens cut off. Ant 1.5.4 has no problem. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]