Cool.  I went the macrodef route and everything worked

        <macrodef name="propertycopy">
                <attribute name="name"/>
                <attribute name="from"/>
                <sequential>
                        <property name="@{name}" value="${@{from}}"/>
                </sequential>
        </macrodef>
        <property name="baseurl.prop" 
value="selenium.vlv.${buildtarget}.baseurl"/>
        <propertycopy name="baseurl" from="${baseurl.prop}"/>


 - Dave




>  -------Original Message-------
>  From: Dominique Devienne <[email protected]>
>  To: Ant Users List <[email protected]>, [email protected]
>  Subject: Re: Possible to dynamically reference a property?
>  Sent: Jan 25 '11 16:16
>  
>  On Tue, Jan 25, 2011 at 4:10 PM,  <[email protected]> wrote:
>  > ON the doc it mentions "external" to ANt ... [...]
>  > So doesn't that mean it would NOT be part of the normal distrib? - Dave
>  
>  You might be right. Sorry, can't help more on this particular topic,
>  as I mentioned I've never done it myself.
>  
>  The easiest is to define the macro to emulate the AntContrib task.
>  That's pure Ant, no dependencies. Or use the <property
>  file="${env}.properties" /> idiom I mentioned. --DD
>  
>  ---------------------------------------------------------------------
>  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]

Reply via email to