--- Matt Benson <[EMAIL PROTECTED]> wrote: > --- Peter Reilly <[EMAIL PROTECTED]> > wrote: > > > It looks like it is some strange stuff with > > path through the code that just avoids an NPE in > > ant.1.6.5. > [SNIP] > > 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: > > <project> > <fileset id="fs" dir="${basedir}" /> > > <script language="beanshell"> > fs.setProject(null); > </script> > > <pathconvert refid="fs" /> > </project> > > which triggers the NPE in AbstractFileSet. I am > testing a fix now. >
I have checked in code to fix this. Those experiencing the problem might want to test against a build from SVN HEAD to verify the problem is fixed for them. It wouldn't hurt to remind the Maven folks to set the Project instance on artifacts they create, either. -Matt > -Matt > > > Peter > [SNIP] > > > > ____________________________________________________________________________________ > Any questions? Get answers on any topic at > www.Answers.yahoo.com. Try it now. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]