ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 23790] - warn if multiple patterns in include name attribute that expects to hold only a single pattern (e.g. in delete)
Date Tue, 14 Oct 2003 08:19:44 GMT
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=23790>.
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=23790

warn if multiple patterns in include name attribute that expects to hold only a single pattern
(e.g. in delete)

bodewig@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX



------- Additional Comments From bodewig@apache.org  2003-10-14 08:19 -------
One important difference between the excludes attribute and the exclude element
is, that the element expects exactly one pattern, this is the only way to
specify a pattern that contains blanks or commas.

Ant doesn't ignore the "second element" in your example, it treats 
"abc  **/transform/*.class" as a single pattern (that most likely won't match
anything).

A pattern with spaces or cammas in it is absolutely legal and nothing that should
produce any warning.  How would you copy files from "C:\Program Files" without
using wildcards otherwise?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message