ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject RE: Using Property within a nested tag.
Date Tue, 09 Jul 2002 15:45:33 GMT
Did you look at ? Maybe
using addConfiguredXXX would do what you expect? I'm not sure. Experts will
answer you more positively soon I'm sure ;-) --DD

-----Original Message-----
From: Simon O'Doherty [] 
Sent: Tuesday, July 09, 2002 10:38 AM
Subject: Using Property within a nested tag.


I am creating a custom task and I have a nested tag which shares some of the
functionality of the property tag. 

So I create my nested tag as implementing property and it works fine.
However it does not work until my top level task is finished. 

For example. 

  <myprop name="test" value="this is a test"/>
  <echo message="${test}"/>
<echo message="${test}"/>

The first echo returns "${test}" but the second returns the correct value. 

My execute code is processing the myprop tags first so that all properties
are generated, but the other nested tags can't access them. 

I am just wondering if I am doing something wrong? Is this what the property
tag should do? Or if this has been discussed before can someone please point
me to the thread (I've looked without much luck :/). TIA. 

Sign-up for your own FREE Personalized E-mail at

Save up to $160 by signing up for NetZero Platinum Internet service.

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

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

View raw message