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 ;-)
>
> Steve