ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Holger King <k...@dig.de>
Subject ant and nested property values
Date Fri, 07 Oct 2005 07:58:04 GMT
Hi Group,

I'm just trying to build something like that using "ANT" and
"ANT-CONTRIB":

<property name="one" value="first"/>
<property name="two" value="second"/>
<property name="first.second" value="numbers"/>
<property name="nested" value="${${one}.${two}}"/>

In this case "nested" would resolve as follows:

    nested = ${${one}.${two}}
           = ${first.${two}}
           = ${first.second}
           = numbers

Using CruiseControl (s.:
http://confluence.public.thoughtworks.org/display/CC/ConfigFiles 
<http://www.google.com/url?sa=D&q=http://confluence.public.thoughtworks.org/display/CC/ConfigFiles>)

this
is no problem. But how to do it using "ANT"/"ANT-CONTRIB"?
Do I need any JAR-libraries of the CruiseControl-package or is it
possible in another way in "ANT" respective "ANT-CONTRIB"? Which JARs
do I need? Are there alternatives to build such structures?

Thanx for your help!
Holger King


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


Mime
View raw message