Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtext 2.15.0 released!
Xtext 2.15.0 released! [message #1795283] Wed, 19 September 2018 20:05 Go to next message
Karsten Thoms is currently offline Karsten ThomsFriend
Messages: 748
Registered: July 2009
Location: Dortmund, Germany
Senior Member

The Eclipse Xtext team is happy to announce version 2.15.0, which is also part of the Eclipse 2018-09 simultaneous release.

With this release, Xtext focussed again on stability & performance, and is the first release that takes part in the new quarterly rolling Eclipse release train. This has been a challenge to keep up the fast release cycle, but we are prepared now to ship also Xtext more frequently.

Read the detailed description of this release in the Xtext 2.15 Release Notes and get Xtext either from the Eclipse 2018-09 Composite Release Update Site or from the Xtext 2.15.0 Release Update Site.

Thank you for choosing Xtext!

~Karsten
- on behalf of the Eclipse Xtext Team -


Need professional support for Xtext, EMF, Eclipse IDE?
Go to: http://devhub.karakun.com
Twitter : @kthoms
Blog : www.karsten-thoms.de
Re: Xtext 2.15.0 released! [message #1796448 is a reply to message #1795283] Sat, 13 October 2018 09:19 Go to previous messageGo to next message
Alex Mising name is currently offline Alex Mising nameFriend
Messages: 138
Registered: March 2010
Senior Member
Hello,

After installing this I get the following exception when I try to launch the generator (org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher):

Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/cli/ParseException
	at java.lang.Class.getDeclaredMethods0(Native Method)
	at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
	at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
	at java.lang.Class.getMethod0(Class.java:3018)
	at java.lang.Class.getMethod(Class.java:1784)
	at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544)
	at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.cli.ParseException
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 7 more


This is on the default-generated Xtext project.

Has something changed in the packaging? I use P2 director to create my installation using the following 2 features:


  • org.eclipse.xtext.sdk.feature.group
  • org.eclipse.xtend.sdk.feature.group

Re: Xtext 2.15.0 released! [message #1796449 is a reply to message #1796448] Sat, 13 October 2018 09:34 Go to previous messageGo to next message
Christian Dietrich is currently online Christian DietrichFriend
Messages: 14083
Registered: July 2009
Senior Member
i dont know of any change. can you please open a issue at

github.com/eclipse/xtext-umbrella with steps how to reproduce/what you are doing.
you can find commons cli here:
http://download.eclipse.org/tools/orbit/downloads/drops/R20180905201904/


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Xtext 2.15.0 released! [message #1796450 is a reply to message #1796449] Sat, 13 October 2018 09:38 Go to previous messageGo to next message
Christian Dietrich is currently online Christian DietrichFriend
Messages: 14083
Registered: July 2009
Senior Member
p.s.: where do you install mwe from. which mwe features do you install?

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Xtext 2.15.0 released! [message #1796451 is a reply to message #1796449] Sat, 13 October 2018 09:45 Go to previous messageGo to next message
Alex Mising name is currently offline Alex Mising nameFriend
Messages: 138
Registered: March 2010
Senior Member
I rely on dependencies to let Xtext feature pull in whatever it likes.

There are 2 factors here:

1. This is not a "standard" distribution but rather one created using P2 director (org.eclipse.equinox.p2.director)

2. I use a UK mirror to install (https://www.mirrorservice.org/sites/download.eclipse.org/eclipseMirror/releases/2018-09)

I will disable the mirror in case it is broken and if it persists, I will start incrementally adding plugins (the script pulls several things in addition to xtext/xtend, maybe something does not play nice with it).

If it persists I will open a bug.

Regarding MWE2, looking at the installation details I see it was pulled as a dependency of the Xtext Complete SDK feature:

org.eclipse.emf.mwe2.language.sdk.feature.group
2.9.1.201705291011
Re: Xtext 2.15.0 released! [message #1796453 is a reply to message #1796451] Sat, 13 October 2018 09:48 Go to previous messageGo to next message
Christian Dietrich is currently online Christian DietrichFriend
Messages: 14083
Registered: July 2009
Senior Member
which version where you using before? did you change only xtext or did you change eclipse/platform/jdt as well?

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Xtext 2.15.0 released! [message #1796454 is a reply to message #1796453] Sat, 13 October 2018 09:52 Go to previous messageGo to next message
Christian Dietrich is currently online Christian DietrichFriend
Messages: 14083
Registered: July 2009
Senior Member
the org.eclipse.emf.mwe2.language.sdk includes
org.eclipse.emf.mwe2.launcher feature that has:

<import plugin="org.apache.commons.cli"/>

and

org.eclipse.emf.mwe.sdk has

<includes
id="org.eclipse.emf.mwe.core.feature"
version="0.0.0"/>

which includes the plugin

so maybe you should install that as well


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Xtext 2.15.0 released! [message #1796455 is a reply to message #1796453] Sat, 13 October 2018 09:53 Go to previous message
Alex Mising name is currently offline Alex Mising nameFriend
Messages: 138
Registered: March 2010
Senior Member
So, this is the reason I use a script. I run 1 command and it creates a new installation from scratch with all plugins I use (JDT, CDT, Xtext, Xtend, EclEmma, FindBugs, DevStyle dark theme, etc etc)

So when my script runs it creates a "fresh" 2018-09" installation with the following:

Installing org.eclipse.platform.ide 4.9.0.I20180906-0745.
Installing org.eclipse.jdt.feature.group 3.15.0.v20180906-0745.
Installing org.eclipse.cdt.feature.group 9.5.4.201810050005.
Installing org.eclipse.m2e.feature.feature.group 1.9.1.20180912-1601.
Installing org.eclipse.m2e.logback.feature.feature.group 1.9.1.20180912-1601.
Installing org.eclipse.egit.feature.group 5.1.0.201809111528-r.
Installing org.eclipse.xtext.sdk.feature.group 2.15.0.v20180916-1232.
Installing org.eclipse.xtend.sdk.feature.group 2.15.0.v20180916-1232.
Installing org.eclipse.datatools.sdk.feature.feature.group 1.14.101.201807022034.
Installing org.eclipse.eclemma.feature.feature.group 3.1.1.201809121651.
Installing edu.umd.cs.findbugs.plugin.eclipse.feature.group 3.0.1.20150306-5afe4d1.
Installing net.jeeeyul.eclipse.themes.feature.feature.group 2.3.1.I20180720-143135.
Installing org.eclipse.buildship.feature.group 2.2.2.v20181003-1021.
Installing org.sonatype.tycho.m2e.feature.feature.group 0.9.0.201609252021.
Installing com.genuitec.eclipse.theming.feature.feature.group 1.11.0.201809241613.
Installing cucumber.eclipse.feature.feature.group 0.0.22.201806032001.


I have now removed all non-core stuff (i.e. only install the below) and the problem is fixed. So it seems like some other plugin is causing some sort of collision. Will add them gradually and may end up chasing up on that side...

Installing org.eclipse.platform.ide 4.9.0.I20180906-0745.
Installing org.eclipse.jdt.feature.group 3.15.0.v20180906-0745.
Installing org.eclipse.cdt.feature.group 9.5.3.201809121146.
Installing org.eclipse.m2e.feature.feature.group 1.9.1.20180912-1601.
Installing org.eclipse.m2e.logback.feature.feature.group 1.9.1.20180912-1601.
Installing org.eclipse.egit.feature.group 5.1.0.201809111528-r.
Installing org.eclipse.xtext.sdk.feature.group 2.15.0.v20180916-1232.
Installing org.eclipse.xtend.sdk.feature.group 2.15.0.v20180916-1232.
Installing org.eclipse.datatools.sdk.feature.feature.group 1.14.101.201807022034.


Previous Topic:Variable reference error
Next Topic:Example for Semantic Refactoring
Goto Forum:
  


Current Time: Thu Oct 28 09:17:34 GMT 2021

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

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

Back to the top