-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wed 6/15/2005 12:03 PM
To: user@ant.apache.org
Subject: RE: macrodef: setting options dynamically
hi jan;
i already saw the manual but my goal is a little bit more complex; i want to do
the following:
attribute1 and attribute2 belong to macrodef SomeMacro.
<macrodef name="SomeMacro">
if attribute1=x
then attribute2="blablabla @{attribute1"
else
attribute2="other blabla"
</macrodef>
Thanks for any help.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wed 6/15/2005 11:53 AM
To: user@ant.apache.org
Subject: AW: macrodef: setting options dynamically
>In a macrodef definition,how can i set option2 from a macrodef
>based on option1 from the same macrodef?
See manual - last example.
>Can i use IF Task from ant-contrib.?
Yes
Jan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This message is for the designated recipient only and may contain privileged,
proprietary, or otherwise private information. If you have received it in
error, please notify the sender immediately and delete the original. Any other
use of the email by you is prohibited.
This message is for the designated recipient only and may contain privileged,
proprietary, or otherwise private information. If you have received it in
error, please notify the sender immediately and delete the original. Any other
use of the email by you is prohibited.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]