ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Pasemnik <>
Subject property name iinterpolation
Date Fri, 11 Jun 2004 17:25:45 GMT
Does Anyone know if I the following:

<property name="p1" value="p3"/>
<property name="p2" value="p4"/>
<property name="p3.p4" value="SOME VALUE"/>

<echo message="${${p1}.${p2}}"/>

makes sense in ant or it is against ant's religion?

The output is: ${${p1}.p4}

It seems there is some "property name interpolation" is going on 
(${p2}), if I can use such terminology.

Anyway, I maybe off topic a little here, but is there a way to get the 
above ${${p1}.${p2}} to output "SOME VALUE", which what vaoule of 
${p3.p4} is?

Mind you I'm not java inclined person.

Thanks in advance.

Igor Pasemnik, Software Engineer, Cloakware Corporation  "secure software ... from the inside out"  613-271-9446 x289 613-271-9447 fax

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message