ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jful...@ruminate.co.uk
Subject Re: <import> and properties weirdness
Date Thu, 30 Sep 2004 15:06:54 GMT
Peter Reilly <peterreilly@apache.org> wrote ..
> Yep,
> 
> It is a bug.
> Can be done with two files:
> 
> part2.xml
> <project name="part2">
>   <target name="usage"/>
>   <property name="dir.src"        value="src" />
> </project>
> 
> part3.xml
> <project name="part3">
>   <import file="part2.xml" />
>   <echo> dir.src is ${dir.src} </echo>
> </project>
> 
> Dir.src is not set.
> Swapping the <property> and <target> in part2.xml gives the correct result.

I have confirmed this behavior on both unix/win env with latest build; I was wondering why
recent upgrade was causing problems to existing builds.

hmmm...isnt there a unit test catching this type of behavior; 

-jim fuller


Mime
View raw message