Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Ecore.genmodel: Feature not found? (Oxygen -> Photon migration (Xtext 2.12.0 --> 2.14.0))
Ecore.genmodel: Feature not found? [message #1791423] Fri, 29 June 2018 08:07 Go to next message
Robert Hilbrich is currently offline Robert HilbrichFriend
Messages: 12
Registered: April 2018
Location: Berlin
Junior Member

I ported my RCP application "ASSIST" from Oxygen to Photon yesterday. You can find it here [1]. Of course, I had to change my pom.xml to make use of the newer Xtext version. I changed my properties to:

<properties>
        <assist.version>2.5.0-SNAPSHOT</assist.version>
        <tycho.version>1.2.0</tycho.version>
        <xtextVersion>2.14.0</xtextVersion>  
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <maven.compiler.source>1.8</maven.compiler.source>
        <maven.compiler.target>1.8</maven.compiler.target>
        <emf-version>2.12.0</emf-version>						<!-- Photon: 2.14.0   	-->
        <emf-common-version>2.12.0</emf-common-version>				<!-- Photon: 2.14.0   	-->
        <emf-codegen-version>2.12.0</emf-codegen-version>			<!-- Photon: 2.14.0   	-->
        <ecore-xtext-version>1.2.0</ecore-xtext-version>			<!-- Photon: 1.3.0    	-->
        <ecore-xcore-version>1.3.1</ecore-xcore-version>			<!-- Photon: 1.6.0    	-->
        <ecore-xcore-lib-version>1.1.100</ecore-xcore-lib-version> 	              <!-- Photon: 1.2.0 		-->
   </properties>

(see pom.xml )

I am unable to set the values to the versions of the plugins that are part of Photon, because Eclipse complains, that the dependencies are missing (not in maven central yet?).

However, the build goes through (see [2]), but it complains about missing features in the genmodel of Ecore. I suppose, that this is a result of the fact, that the EMF versions are a bit old for Xtext 2.14.0?

3147 ERROR XtextGeneratorLanguage - Error loading 'platform:/resource/org.eclipse.emf.ecore/model/Ecore.genmodel':
org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature 'eclipsePlatformVersion' not found. (platform:/resource/org.eclipse.emf.ecore/model/Ecore.genmodel, 9, 91)
org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature 'autoResizeProperties' not found. (platform:/resource/org.eclipse.emf.ecore/model/Ecore.genmodel, 9, 91)
org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature 'autoExpandProperties' not found. (platform:/resource/org.eclipse.emf.ecore/model/Ecore.genmodel, 9, 91)
org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature 'findAction' not found. (platform:/resource/org.eclipse.emf.ecore/model/Ecore.genmodel, 9, 91)
org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature 'expandAllAction' not found. (platform:/resource/org.eclipse.emf.ecore/model/Ecore.genmodel, 9, 91)
org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature 'collapseAllAction' not found. (platform:/resource/org.eclipse.emf.ecore/model/Ecore.genmodel, 9, 91)
org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature 'revertAction' not found. (platform:/resource/org.eclipse.emf.ecore/model/Ecore.genmodel, 9, 91)


Any tips or pointers? Are there any other maven repositories with more recent versions of EMF/Ecore?

Thanks,
Robert

[1]: https://github.com/RobertHilbrich/assist-public
[2]: https://travis-ci.org/RobertHilbrich/assist-public/jobs/398116651#L4030
Re: Ecore.genmodel: Feature not found? [message #1791424 is a reply to message #1791423] Fri, 29 June 2018 08:10 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 12237
Registered: July 2009
Senior Member
https://github.com/eclipse/xtext/issues/1233

Need professional support for Xtext, Xpand, EMF?
Go to: https://xtext.itemis.com
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:Error with optional semicon at the end of line
Next Topic:Is Maven supposed to work properly?
Goto Forum:
  


Current Time: Sat Sep 22 14:53:37 GMT 2018

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

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

Back to the top