You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Stefan Bodewig <bo...@apache.org> on 2000/11/28 11:11:04 UTC

Re:

jeremie hebre <je...@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