ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <>
Subject Re: Maven Ant Task problem when used with Ant 1.7.0
Date Wed, 10 Jan 2007 19:40:27 GMT
--- Peter Reilly <> wrote:

> It looks like it is some strange stuff with
> path through the code  that just avoids an NPE in
> ant.1.6.5.
> I am not sure how to fix this in ant.

I've got it.  It is indeed a case of the Maven code
not having set Project references on their artifacts. 
PITA, but not the end of the world.  The simplified
pathconvert code triggers the problem.  My simple
testcase is:

  <fileset id="fs" dir="${basedir}" />

  <script language="beanshell">

  <pathconvert refid="fs" />

which triggers the NPE in AbstractFileSet.  I am
testing a fix now.


> Peter

Any questions? Get answers on any topic at  Try it now.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message