ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: ant and nested property values
Date Fri, 07 Oct 2005 08:39:31 GMT
http://ant.apache.org/faq.html#propertyvalue-as-name-for-property

Jan 

>-----Urspr√ľngliche Nachricht-----
>Von: Holger King [mailto:king@dig.de] 
>Gesendet: Freitag, 7. Oktober 2005 09:58
>An: user@ant.apache.org
>Betreff: ant and nested property values
>
>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.thou
>ghtworks.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
>
>

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


Mime
View raw message