ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: <target name="target" if="module"/>
Date Tue, 28 Nov 2000 10:11:04 GMT
jeremie hebre <jeremie.hebre@corp.vizzavi.net> wrote:

> Hi,
> 
> I would like to execute a task IF property="string". But 'if'
> attribute permit to execute the task if a property exists.  How
> could I do that?

Instead of <target if="${myprop}==value">, right? Something like this
would work:

<property name="dummy.${myprop}" value="set" />
<target name="..." if="dummy.value" ...

Stefan

Mime
View raw message