joergreichert / spray

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

Spray cannot resolve reference to JvmIdentifiableElements like eClass and name when using custom ecore #135

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, here is the description of a problem I have with Spray 0.5 :

What steps will reproduce the problem?
1. Install Eclipse (Modeling), update the modeling component
2. Install Spray's third party and Spray from the CI update site (Spray SDK 
Feature 0.5.0.201206060013)
3. Create a new spray project, based on a self-made .ecore
4. Add the .ecore to the build path of the project
5. Uncomment the example class mapping (class BusinessClass icon ...) and 
replace "BusinessClass" with one of the classes from the .ecore used.

What is the expected output? What do you see instead?
The project raises errors : 
- Couldn't resolve reference to JvmIdentifiableElements 'name'
- Couldn't resolve reference to JvmIdentifiableElements 'eClass'
- Couldn't resolve reference to EReference 'types'

What version of the product are you using? On what operating system?
Spray SDK Feature 0.5.0.201206060013
Eclipse modeling indigo SR2

Did I miss something ? I am particularly surprised that it seems to work with 
the proposed metamodel mod4j businessClass but once I use another one it seems 
to be lost.

Regards

Original issue reported on code.google.com by flato...@gmail.com on 11 Jun 2012 at 2:30

GoogleCodeExporter commented 9 years ago
I think it is related to issue #127. This is fixed on the Juno branch, just 
take a look at the scope provider (for eClass at Diagram and MetaClass) and the 
proposal provider in the ui plugin (for the import proposal).

Original comment by de.abg.r...@gmail.com on 13 Jun 2012 at 4:34

GoogleCodeExporter commented 9 years ago
should be fixed with fix of issue #127

Original comment by de.abg.r...@gmail.com on 15 Jun 2012 at 7:31