ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sakke Wiik" <sakke.w...@netikos.fi>
Subject xmlproperty-target reading properties
Date Tue, 18 Nov 2003 13:04:13 GMT
Hi,
I'm using Ant 1.6beta2 and cannot figure out how to read the 
<property>-values one at a time from an xml-file with this structure:

<configuration>
 <setup>
  <property name="a">1</property>
  <property name="b">2</property>
  <property name="c">3</property>
  <property name="d">4</property>
 </setup>
</configuration>


I can get a list of all <property>-values as a comma-separated list:
<echo message="${hibernate-configuration.session-factory.property}"/>,
but how do I get each property by its name, for example "a"?

cheers,
Sakke



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


Mime
View raw message