Ecore.genmodel: Feature not found? [message #1791423] |
Fri, 29 June 2018 04:07  |
Eclipse User |
|
|
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.05473 seconds