ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: variable interpolation in depends attr of target element
Date Wed, 15 Aug 2007 01:08:58 GMT
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/%3CD6525D6FD150E141BFEE2789D76F911E02CE19BE@ca-exch01.actional.com%3E

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" <bill.spam@pobox.com>
To: <user@ant.apache.org>
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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
> 


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


Mime
View raw message