On 11/03/2011 21:10, Scott Wilson 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

Thanks Scott. I've updated the ticket and will have a rummage, however
I know exactly zero about these build tools.


Cheers, I updated the bug title btw.

I suspect the offending line is:

<src path="${wookie.features.dir}/${feature.shortname}/src" />

According to the Ant doc:

<javac>'s srcdir, classpath, sourcepath, bootclasspath, and extdirs attributes are path-like structures and 
can also be set via nested<src>  (note the different 
name!),<classpath>,<sourcepath>,<bootclasspath>  and<extdirs>  elements, respectively.

So I wonder if its reading this file twice, and adding these elements to the 
path each time. (I don't know why it wouldn't do that in Ant 1.7 too though.)

Maybe it should use the srcdir attribute instead?

(I know _almost_ zero about these build tools ;-)

No time to test your theory right now, but doing --verbose tells you what targets are being called at what point.

Ross

Reply via email to