Is there already a way to do this: <condition> <and> <exec .../> <!-- fail == BuildException thrown --> </and> <and> <antcall .../> </and> </condition>
Same could be done using <or>. That looks like a pretty safe way to check for platform-specific commands (or maybe <available> could be extended to look for a system command). i could see using such a construct to essentially do some of the same things a 'configure' script typically does. <and> may need to force failonerror=true on the exec child. In this context, <exec failonerror='false'.../> does not make sense, as it invalidates our <and>. ----- [EMAIL PROTECTED] http://qub.sourceforge.net - http://radioaqtiph.sourceforge.net http://www.countermoves.net - http://stephan.rootonfire.org "Attention is narrowed perception." -- Alan W. Watts -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
