On 12/03/2011 20:25, Steve Lee wrote:
On 11 March 2011 21:10, Scott Wilson<[email protected]> wrote:
On 11 Mar 2011, at 20:25, Steve Lee wrote:
On 11 March 2011 19:43, Scott Wilson<[email protected]> wrote:
This is a problem we've seen few times, and is specific to Ant 1.8+. It doesn't
happen under Ant 1.7 for some reason.
You can track it here: https://issues.apache.org/jira/browse/WOOKIE-152
I suspect the offending line is:
<src path="${wookie.features.dir}/${feature.shortname}/src" />
+1
I added comments to the ticket. Do you prefer to discuss here rather
than on ticket? I've repeated my thoughts below
Discussion on the list is easier. Ticket should be reserved for
recording progress and actions to be taken. It's always useful, when
adding actions, to link to the mail archives of the discussion that
produced them.
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?
It's defined in the build.properties file. 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
* perhaps something is define the base dir to be
/Users/stevelee/wookie/features/camera/ but what?
I can't parse that question.
Running "ant --verbose" might help.
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 (has anyone searched the Ant
mail archives and issue tracker?) or they deliberately changed something
(has anyone asked the question on the Ant users list?)
Ross