Skip to main content



      Home
Home » Modeling » TMF (Xtext) » xtend-maven plugin does not work in 2.12.0 release(Error compiling xtend sources in src)
xtend-maven plugin does not work in 2.12.0 release [message #1801248] Tue, 15 January 2019 14:10 Go to next message
Eclipse UserFriend
Hi All,

I am facing the issue that was reported in bug 432488 [0]. The plugin fails to compile Xtend files that have references to Java code. As an experiment, I tried converting the problematic Xtend code to Java in one of my projects, and it worked (only a subset of Xtend code was changed, not all). However, I cannot afford to do this as I have quite a bit of xtend code in my projects.

I did try adding dependencies to 'o.e.jdt.core', 'jdt.compiler.apt', 'jdt.compiler.tool', 'emf.codegen' as suggested by Sven and cdietrich in their comments here [1], but that didn't help.

Is there anything else that I can try? It is crucial for us to get past this issue. Any hints/pointers are highly appreciated.

PS: Please note that the builds started failing abruptly. Also, I would like to mention that we have configured the outputDirectory in the xtend-maven-plugin configuration to generated code in a different folder and not xtend-gen.

Eclipse: Oxygen Release (4.7.0), Build id: 20170620-1800
Xtext: 2.12.0
EMF: 2.13.0

[0] https://bugs.eclipse.org/bugs/show_bug.cgi?id=432488
[1] https://github.com/eclipse/xtext-xtend/issues/116
[2] https://github.com/crapo/sadlos2/commit/0f352f378e5dc3a3a27524521a6abbd5dac59787

PFA log for reference.

Tx in advance
  • Attachment: error.txt
    (Size: 5.57KB, Downloaded 93 times)
Re: xtend-maven plugin does not work in 2.12.0 release [message #1801249 is a reply to message #1801248] Tue, 15 January 2019 14:13 Go to previous messageGo to next message
Eclipse UserFriend
https://github.com/eclipse/xtext/issues/1373
Re: xtend-maven plugin does not work in 2.12.0 release [message #1801250 is a reply to message #1801249] Tue, 15 January 2019 15:17 Go to previous messageGo to next message
Eclipse UserFriend
Tx. Let me take a look.
Re: xtend-maven plugin does not work in 2.12.0 release [message #1801261 is a reply to message #1801250] Tue, 15 January 2019 20:34 Go to previous messageGo to next message
Eclipse UserFriend
Works for me. Tx
Re: xtend-maven plugin does not work in 2.12.0 release [message #1801416 is a reply to message #1801248] Fri, 18 January 2019 11:42 Go to previous message
Eclipse UserFriend
I just started having exactly the same problem with the same versions you mention. After this workaround that you mentioned https://github.com/eclipse/xtext-xtend/issues/116 it started working for me again.

Thanks!
Previous Topic:Content Assist Problem in the second Grammar
Next Topic:How to serialize XMI model to Xtext file
Goto Forum:
  


Current Time: Fri Jun 20 22:11:59 EDT 2025

Powered by FUDForum. Page generated in 0.27428 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top