ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken Wood <>
Subject Re: Questions on Ant
Date Wed, 18 Oct 2000 16:58:26 GMT
<target name="yyy" if="prop2">

<target name="xxx" depends="yyy" if="prop1">

If prop1 is true, xxx will be executed. Since it
depends on "yyy", "yyy" is 'fired up'. If "prop2"
is true, then "yyy" is executed. 

Max Nalsky wrote:
> Hi!
> Sorry if I post questions that were already discussed here.
> I haven't heard of Ant a week ago, now I'm using it for all my projects
> and I'm extremely happy with it! Thank all of you for developing it.
> Questions:
> 1) How can I defince a target that should be invoked only if TWO
> properties are simultaneously set? Using
>     <target name="xxx" if="prop1,prop2">
> seem does not work. Is anyone has got an advice on it?

View raw message