The following build snippet works properly for Tycho 0.14 to 0.18.1, but not for 0.19.0:
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-compiler-plugin</artifactId>
<configuration>
<compilerId>groovy-eclipse-compiler</compilerId>
<verbose>true</verbose>
</configuration>
<dependencies>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-eclipse-compiler</artifactId>
<version>2.7.0-01</version>
</dependency>
</dependencies>
</plugin>
For Tycho 0.19.0 I get the following error:
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.19.0:compile (default-compile) on project xxx.xxx.tests.groovy: Fatal error compiling: The performCompile method has not been implemented. -> [Help 1]
Does anybody know a way around this?
I want to use groovy-eclipse-compiler, as I have a plug-in where I have "translated" a couple - but not all - of the Java files into Groovy. This allows we to use some special Groovy functionality which means the classes are cut to 20% of the originals :-) As I have cross-references both ways between the Java and Groovy classes, it does not work to just add the Groovy compiler as described by Igor (here:
http://dev.eclipse.org/mhonarc/lists/tycho-user/msg00072.html).
/Tonny