Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Xtext compilation

I remember getting an error with xtend-maven in a previously working project when switching from Java 8 to 11. At least for me the fix was just to remove the dependencies that were added for the workaround mentioned in your POM snippet. With a recent Xtext version, that workaround is not needed and compilation works fine on both 8 and 11.

 

Mit freundlichen Grüßen / Best regards

Michael Keppler

LTO Release Engineering (ETAS/ESW-CI)
Tel. +49 711 3423-2429 | Fax +49 711 89661-0 | Michael.Keppler@xxxxxxxx



Von: tycho-user-bounces@xxxxxxxxxxx <tycho-user-bounces@xxxxxxxxxxx> Im Auftrag von Antonio Garmendía
Gesendet: Samstag, 16. Mai 2020 11:37
An: Tycho user list <tycho-user@xxxxxxxxxxx>
Betreff: [tycho-user] Xtext compilation

 

Hi all,

 

My Xtext compilation used to work perfectly until today, which I get this error: 

 

[ERROR] Failed to execute goal org.eclipse.xtend:xtend-maven-plugin:2.14.0:compile   

 

Following some suggestions my pom configuration looks like this:

 

 <!-- Workaround for https://github.com/eclipse/xtext/issues/1231 -->
 <!-- Remove with upgrade to Xtext 2.15 -->
<dependencies>
<dependency>
<groupId>org.eclipse.jdt</groupId>
<artifactId>org.eclipse.jdt.core</artifactId>
<version>3.13.102</version>
</dependency>
<dependency>
<groupId>org.eclipse.jdt</groupId>
<artifactId>org.eclipse.jdt.compiler.apt</artifactId>
<version>1.3.110</version>
</dependency>
<dependency>
<groupId>org.eclipse.jdt</groupId>
<artifactId>org.eclipse.jdt.compiler.tool</artifactId>
<version>1.2.101</version>
</dependency>
<dependency>
<groupId>org.eclipse.emf</groupId>
<artifactId>org.eclipse.emf.codegen</artifactId>
<version>2.11.0</version>
</dependency>
<dependency>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.equinox.common</artifactId>
<version>3.10.0</version>
</dependency>
<dependency>
<groupId>org.eclipse.emf</groupId>
<artifactId>org.eclipse.emf.codegen</artifactId>
<version>2.11.0</version>
</dependency>
</dependencies>   

 

Should I add something else?

 

Thanks in advance.

 

Kind regards,

Anthony

 

Libre de virus. www.avast.com

 


Back to the top