since property is immutable the only way I know how is to assign the target based on JavaScript target.setName(attributes.get("name"));
http://mail-archives.apache.org/mod_mbox/ant-user/200401.mbox/[EMAIL PROTECTED]

Anyone ?
M--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

----- Original Message ----- From: "joe7pak" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, August 14, 2007 5:47 PM
Subject: variable interpolation in depends attr of target element



Hello -

  I would like to do this:

  <property name="testInterp" value="clean, compile"/>
  <target name="all" depends="${testInterp}"/>

  I get this error:
  Target "${testInterp}" does not exist in the project "XXX". It is used
from target "all".

  Does variable interpolation work in this context?

Thanks for any comments,
  Bill


--
View this message in context: http://www.nabble.com/variable-interpolation-in-depends-attr-of-target-element-tf4269910.html#a12152873
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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]

Reply via email to