On 12 March 2011 22:49, Ross Gardler <[email protected]> wrote
> On 12/03/2011 20:25, Steve Lee wrote:
>> Finally I notice that wookie.features.dir is defined in the features
>> build file but that definition is ignored.
>
> What do you mean "ignored"?
>
>> Also the parent build uses
>> it but doesn't not define it.  So perhaps its in an included file in
>> parent and inherited so local definition in child doesn't get used?

I meant changing it had no effect. I now see the docs say a property
cannot normally be changed and it's not explicit but hints a subant
inherits it, and so wont change (it is explicit a subant definition is
not seen in the prent - as you'd expect)

> It's defined in the build.properties file.

now found thanks

> Ant uses the first value found
> for a property, not the last. So the order is:
>
> local.build.properties
> build.properties
> features/build.xml
> build.xml

last 2 should probably  be swapped as features/build.xml doesn't
include build.properties so some inheritance from build.xml must be at
work., but not important.

> Since there is nothing wrong with our scripts in 1.7 it is reasonably safe
> to assume that it's a bug in Ant 1.8

+1, as agreed in another email

> (has anyone searched the Ant mail
> archives and issue tracker?)

Yes - but didn't find or they deliberately changed something

>(has anyone asked the question on the Ant users list?)

Not yet. Will look again soon.

Steve

Reply via email to