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=25068>. 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=25068 Escape ", " separator in PatternSet Summary: Escape ", " separator in PatternSet Product: Ant Version: 1.6Beta Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: Core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I need something like excludes="*\,*" in the zip task, which means i want to exclude files which contain a comma ',' in their name. I think it is currently not possible as (i believe) the excludes is handled by PatternSet.java which uses java.util.StringTokenizer which has no escape possibility for its separators. Possible solutions: o Use a new attribute excludesSeparator=";" to specify another separator for StringTokenizer o Replace StringTokenizer by for example apache commons Tokenizer, see http://cvs.apache.org/viewcvs/jakarta-commons/lang/src/java/org/apache/commons/lang/Tokenizer.java?rev=1.1&content-type=text/vnd.viewcvs-markup where i could write for example excludes='"*,*",*.txt' or another tool which supports escapes like excludes="*\,*" --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]