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 21723] - FileSet should have "if" and "unless"
Date Sat, 19 Jul 2003 00:00:35 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=21723>.
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=21723

FileSet should have "if" and "unless"





------- Additional Comments From kk@kohsuke.org  2003-07-19 00:00 -------
Specifying non-existent directory to the dir attribute of <fileset>
causes the problem, so I fail to see how a conditional <patternset>
will solve this issue.

In other words, if the property "var" is undefined,

<fileset dir=${var}">
  <patternset refid="some.conditional.pattern" />
</fileset>

will always fail regardless of the actual definition of the pattern set.

So my understanding is that it doesn't help my particular case.

(In fact, it seems to me that I can now argue that <fileset>s should have @if
and @unless since <patternset>s do)

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


Mime
View raw message