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)
}

I'll report back if I learn anything more.


--
John Murph
Automated Logic Research Team

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to