On Fri, Sep 25, 2009 at 8:39 PM, Adam Murdoch <[email protected]> wrote:
>
>
> John Murph wrote:
>
>> I know it's not working because I get a NPE when a field that should be
>> injected is referenced for the first time. I previously saw this before I
>> made those changes to get it working. It worked for a couple of months and
>> stopped working in the last couple of days. This one has me stumped...
>>
>>
> Very strange. However, I did just make some ugly changes to AntBuilder to
> get rid of a memory leak, so I wonder if they are to blame.
>
> Could you try using a different way of overriding the task:
>
> Classloader cl = new URLClassLoader(buildscript.classLoader,
> javac2Config.collect { it.toUri().toUrl() } as URL[])
> Class javac2Class = cl.loadClass('com.intellij.ant.Javac2')
>
> subprojects {
> ant.antProject.addTaskDefinition('javac', javac2Class)
> }
>
>
>
No effect, still the same NPE.
--
John Murph
Automated Logic Research Team