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 <ddevie...@gmail.com>
>  To: Ant Users List <user@ant.apache.org>, dave.alvar...@cartridgeorder.com
>  Subject: Re: Possible to dynamically reference a property?
>  Sent: Jan 25 '11 16:16
>  
>  On Tue, Jan 25, 2011 at 4:10 PM,  <dave.alvar...@cartridgeorder.com> 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: user-unsubscr...@ant.apache.org
>  For additional commands, e-mail: user-h...@ant.apache.org
>  
>  

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

Reply via email to