Use conditional targets.
<target name="echoproperties" if="mypropertie.display">
<echoproperties/>
</target>
Jan Matèrne
> -----Ursprüngliche Nachricht-----
> Von: Pellier Marc [mailto:archi7@onssapl.fgov.be]
> Gesendet am: Donnerstag, 10. April 2003 09:57
> An: 'ant-user@jakarta.apache.org'
> Betreff: condition echo
>
> How can you do an ECHOPROPERTIES if my ${mypropertie.display}
> propertie if
> true
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
|