I've tried to create a property:
name="c" value="${a}.${b}"
and then get the value: ${c}
Why doesn't it work?

Zvi 



-----Original Message-----
From: Wannheden, Knut [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 15, 2002 2:22 PM
To: 'Ant Users List'
Subject: RE: nested ${} expressions


I've requested this feature before aswell, and the answer is: you can't.
And it won't be part of Ant2 either; the proposal was submitted too
late.
Further it's been stated that it makes the buildfiles too complicated to
read.

You'll have to get by without nested properties or implement a new
<property> task... ;-(

--
knut


> -----Original Message-----
> From: Rahamim, Zvi (Zvi) [mailto:[EMAIL PROTECTED]]
> Sent: Dienstag, 15. Januar 2002 12:40
> To: Ant Users List
> Subject: nested ${} expressions
> 
> 
> Hi all !!!
> I have the properties:
> a=111
> b=222
> 111.222=x
> 
> I want to do something like:
> <echo message="${${a}.${b}}" />
> so that it will print 'x'.
> 
> How can I do it?
> 
> Thank you!
> 
> Zvi 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to