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 31513] - task dependencies are being executed even if 'if' attribute do not match
Date Sun, 03 Oct 2004 13:38:52 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31513>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31513

task dependencies are being executed even if 'if' attribute do not match





------- Additional Comments From stevel@apache.org  2004-10-03 13:38 -------
the docs have already been updated Svante; future users wont be misled the same way.

Note there is one way to make an entire tree conditional, invoke it inside an
existing targe

<target name="conditional" if="test">
 <antcall target="conditional-tree" />
</target>

This will execute target "conditional-tree" and all its predecessors, which is
good. But then you wont get properties set in that antcall back into the main
build, which is sometimes bad.

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


Mime
View raw message