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 23629] - Allow antcall to have if/unless like target does.
Date Mon, 06 Oct 2003 23:26:19 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=23629>.
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=23629

Allow antcall to have if/unless like target does.





------- Additional Comments From j_a_fernandez@yahoo.com  2003-10-06 23:26 -------
Why not just doing:

<target name="compile" depends="init">
 <if>
  <available property="ejb-jar.xml.available"
             file="build\META-INF\ejb-jar.xml" />
  <then>
    <antcall target="ejbdoclet" unless="ejb-jar.xml.available" />
  </then>
 </if>
...
</target>

This to me is 10 times most understandable.

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


Mime
View raw message