ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rum Pel" <rum_...@hotmail.com>
Subject task - if
Date Wed, 05 Jun 2002 06:22:34 GMT
It would be great if every task has an 'if' clause. Currently
only 'target' task seems to have 'if'. (target isn't a task at all, right?).


I want to compile a source only if it is available.

<available file="src/A.java" property="A.is.present"/>

<javac src="src/A.java" if="A.is.present"/>

Can I do this with 1.4.1?

thanks,
--rp.

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message