| macrodef: setting options dynamically(bis) | macrodef: setting options dynamically(bis) 2005-06-16 - By hind.lwahhabi@(protected)
-----Original Message----- From: hind.lwahhabi@(protected) [mailto:hind.lwahhabi@(protected)] Sent: Wed 6/15/2005 12:03 PM To: user@(protected) 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: Jan.Materne@(protected) [mailto:Jan.Materne@(protected)] Sent: Wed 6/15/2005 11:53 AM To: user@(protected) 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: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(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: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|
 |