If you use the uiDesigner in IntelliJ IDEA, you must use a special
compiler. This compiler is freely distributed by IntelliJ and is a drop in
replacement for <javac> called <javac2>. I had this working with the
following code:
configurations
{
javac2
}
dependencies
{
javac2 'com.intellij:javac2:6.0.5'
}
def javac2Config = configurations.javac2
subprojects
{
compile.doFirst { ant.taskdef(name:'javac',
classname:'com.intellij.ant.Javac2', classpath:javac2Config.asPath) }
}
However, that recently stopped working. I thought it was due to the source
sets changes, so I tried to change the last line to "compileJava.doFirst..."
but that did not help. How can I make this work now? Or is there a better
way?
--
John Murph
Automated Logic Research Team