Tim Vernum wrote:
> OK, I'm not sure if I follow you correctly.
> Each time I read it, I get a different view of what you are saying.
>
> In this case:
>
> <target name="A">
> <property name="prop" value="A"/>
> <echo message="${prop}"/>
> </target>
>
> <target name="B" depends="A">
> <property name="prop" value="B"/>
> <echo message="${prop}"/>
> </target>
>
> $ ant B
>
> should print
>
> A
> A
Yep, that's exactly correct. It is not the bahavior I would expect. The
docs say that parent properties override child properties, I would not have
thought that in this case target A would be considered the parent of target
B. But if that's the way it is supposed to work, then I will have to deal
with it.
-> richard