ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Dorner <FDor...@zed.com>
Subject Dynamic macro dispatch.
Date Tue, 24 Mar 2009 12:35:40 GMT
Hi Ant users,

I have three macros: a, b, c, and a property 'x'. Is there a way to execute the macro ${x},
i.e. a if ${x}=a, b if ${x}=b, c if ${x}=c, (fail otherwise) with ant core? Something like
<macroExec macro="${x}"/>

Thanks,
Felix

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


Mime
View raw message