Hi,
I can't get it to work with the semantic properties.
None of these works:
<echo message="${configuration.setup.name.a}"/>
<echo message="${configuration.setup.name(a)}"/>
<echo message="${configuration.setup.property.a}"/>
<echo message="${configuration.setup.property(a)}"/>
<echo message="${configuration.setup.property.name.a}"/>
<echo message="${configuration.setup.property.name(a)}"/>
<echo message="${configuration.setup.a}"/>,
<echo message="${configuration.setup(a)}"/>
cheers,
Sakke
> -----Original Message-----
> From: Markku Saarela [mailto:[EMAIL PROTECTED]
> Sent: 19. marraskuuta 2003 8:38
> To: Ant Users List
> Subject: RE: xmlproperty-target reading properties
>
>
> Hi,
>
> Try this one with ant 1.6 beta2
>
> <xmlproperty file="somefile.xml"
> semanticAttributes="true"
> includeSemanticAttribute="true"/>
>
> rgds,
>
> Markku
>
> -----Original Message-----
> From: Sakke Wiik [mailto:[EMAIL PROTECTED]
> Sent: 18. marraskuuta 2003 15:04
> To: [EMAIL PROTECTED]
> Subject: xmlproperty-target reading properties
>
>
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]