ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laurent P." <>
Subject Access properties after xmlproperty task
Date Thu, 20 Nov 2003 12:58:07 GMT

I 'm using Ant 1.5.3 under WSAD 5.1.
I would like to access properties list via <xmlproperty>.

My XML file :

I would like to access all <project> properties (a, b, c) as a 
coma-separed list (or any list) to iterate on it with <foreach>.

<xmlproperty file="file.xml"/>
<echo message="${conf.utility.project}"/> ==> [echo] a
I have only the first child of <utility>.

I tried with :
       <project name="aa">a</project>
       <project name="bb">b</project>
       <project name="cc">c</project>
but I had the same result.

Thank's for advance.

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

View raw message