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 7242] - Please expand definition and implementation of Pattern
Date Fri, 08 Nov 2002 13:58:53 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=7242>.
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=7242

Please expand definition and implementation of Pattern





------- Additional Comments From bodewig@apache.org  2002-11-08 13:58 -------
The includes attribute allows multiple patterns separated by space or comma.

<include>'s name attribute expects a single pattern.

There is nothing special for <patternset>, as every task that supports an
includes attribute also supports nested include elements and the semantics
are always the same.

There is a way to escape $ in Ant (simply double it) that works for all
attributes of all elements.

See also the <includesfile> element of <patternset> which would allow you to
put several patterns into a single file (and use if/unless attributes).

Then there are selectors in Ant 1.5 (with additional if/unless support in 1.6
that may help to address your problem.

If something is odd with this treatment, to my taste it is that includes allows
a list of files at all - but this has been the initial way to define them and
must stay that way for obvious backwards compatibility reasons.

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


Mime
View raw message