Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] please test staged tycho 0.19.0

I have everything working again.

For Tycho 0.14.0 to 0.18.1 use groovy-eclipse-compiler version 2.7.0-01.
For Tycho 0.19.0 use groovy-eclipse-compiler version 2.8.0-01.

In the later case, you must also add a dependency on the wanted groovy-eclipse-batch, as it is optional (no ideas why).

The previous versions of Tycho do not work with last version of the compiler (missing API) AND the last version of the compiler does not work with the previous versions of Tycho (I just silently forgets to compile all files).

/Tonny

--
Tonny Madsen
My profiles: LinkedIn Twitter Blogger SlideShare



On Fri, Nov 8, 2013 at 4:48 PM, Sievers, Jan <jan.sievers@xxxxxxx> wrote:
this is most probably due to an incompatible change in plexus-compiler API [1,2]
I don't see an option how to make this work in a backwards compatible way and at the same time support current maven-compiler-plugin 3.x in tycho.

you will probably have to make the groovy-eclipse-compiler update to the most recent plexus compiler API.

Jan

[1] https://wiki.eclipse.org/Tycho/Release_Notes/0.19
[2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=405385

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Tonny Madsen
Sent: Freitag, 8. November 2013 09:39
To: Tycho user list
Subject: Re: [tycho-user] please test staged tycho 0.19.0

I found I could get groovy-eclipse-compiler version 2.8.0-01 to work (almost) with Tycho 0.19.0 with this build snippet:

                        <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.8.0-01</version>
                                        </dependency>
                                        <!-- The compiler seems to be optional :-/ - so we have to include it here... -->
                                        <dependency>
                                                <groupId>org.codehaus.groovy</groupId>
                                                <artifactId>groovy-eclipse-batch</artifactId>
                                                <version>[1.8.3-01,9.9.9)</version>
                                        </dependency>
                                </dependencies>
                        </plugin>

Right now, I'm trying to figure out why a local "clean install" succeeds and a top-level "clean install" fails :-(

/Tonny
--
Tonny Madsen
My profiles:    

On Thu, Nov 7, 2013 at 8:49 PM, Tonny Madsen <tonny.madsen@xxxxxxxxx> wrote:
I know it is late, but I found a "problem" in 0.19.0 today :-(

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

I will report this on https://github.com/groovy/groovy-eclipse as well...

/Tonny



--
Tonny Madsen
My profiles:    

On Mon, Oct 21, 2013 at 5:50 PM, Sievers, Jan <jan.sievers@xxxxxxx> wrote:
Tycho milestone release 0.19.0 has been staged. For details of new features and bugfixes, see release notes [1].
Please help by testing the staged milestone build. To use it, change your tycho version to 0.19.0 and add snippet [2] to your pom.

We plan to promote this release in one week unless major regressions are found.

Regards,
Tycho team

[1] http://wiki.eclipse.org/Tycho/Release_Notes/0.19
[2]
<pluginRepositories>
 <pluginRepository>
  <id>tycho-staged</id>
  <url>https://oss.sonatype.org/content/repositories/orgeclipsetycho-1004/</url>
 </pluginRepository>
</pluginRepositories>
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user


_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top