ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Deferred datatype evaluation
Date Wed, 09 Apr 2003 12:30:44 GMT
On Wed, 9 Apr 2003, Conor MacNeill <>

>   <path id="test">
>     <pathelement location="${testloc}"/>
>   </path>
>   <property name="testloc" location="testdir"/>
>   <property name="result" refid="test"/>
>   <target name="default">
>     <echo message="Result is ${result}"/>
>   </target>

How is this different from say

  <property name="result" value="${testloc}"/>
  <property name="testloc" location="testdir"/>

  <target name="default">
    <echo message="Result is ${result}"/>

It doesn't work either.

If you delay the configuration of <path>, but not the expansion of
properties, properties and data-types will get even more inconsistent.

This doesn't mean that your idea is bad, maybe we should apply the
same to property expansion as well then?  I'm very unsure, though.


View raw message