MarkusGerhart / spray

Automatically exported from code.google.com/p/spray
0 stars 0 forks source link

Xtext Grammar shows error Cannot find compatible feature type in sealed EClass #70

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The Xtext grammar shows errors, but it does not affect the functionality. The 
grammar can be translated.

Reported as bug for Xtext:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=363421

Original issue reported on code.google.com by karsten....@googlemail.com on 10 Nov 2011 at 5:55

GoogleCodeExporter commented 8 years ago
Got some online help from Sebastian Zarnekow luckily.

It is important that Ecore.ecore is not in the workspace. This was the case for 
the unit tests. Removed Ecore.ecore and Ecore.genmodel from the workspace.

Next, in the spray.genmodel the feature "Initialize by loading" was set to true 
for the Spray GenPackage. This caused that a spray.ecore was produced into the 
impl package, and SprayPackageImpl#initialize() loaded that file. Set this flag 
to false now.

Refactored GenModelHelperTest to test against BusinessDomainDsl.genmodel 
instead of Ecore.genmode.

Original comment by karsten....@googlemail.com on 10 Nov 2011 at 8:02

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 7ffbcada295c.

Original comment by karsten....@googlemail.com on 10 Nov 2011 at 8:03