ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stephan beal <>
Subject <condition> extension: does this make sense?
Date Sat, 30 Mar 2002 11:38:29 GMT
Is there already a way to do this:

  <exec .../>
<!-- fail == BuildException thrown -->
  <antcall .../>

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 

-----  - -
"Attention is narrowed perception." -- Alan W. Watts

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message