ktmprabhu / spray

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

Reference to EClass cannot be resolved in Juno Modelling + Graphiti + Spray #192

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I installe Spray according to  
https://spray.ci.cloudbees.com/job/spray-docs-build/lastSuccessfulBuild/artifact
/docs/org.eclipselabs.spray.doc.user/docs/html/SprayUserGuide.html#InstallSpray
with 3rd party dependencies on a fresh Eclipse Modelling Edition Juno Service 
Release 1 (except for one update of the modelling tools) on OS X 10.8.2.
After installing the 3rd party dependencies I was repeatedly facing blocking 
errors during installation of spray from an archive downloaded here 
(spray-0.4.0) which all looked like this:

Cannot complete the install because of a conflicting dependency.
  Software being installed: Spray SDK Feature 0.4.0.v20120319-1152 (org.eclipselabs.spray.feature.sdk.feature.group 0.4.0.v20120319-1152)
  Software currently installed: MWE 2 language SDK 2.3.0.v201206120758 (org.eclipse.emf.mwe2.language.sdk.feature.group 2.3.0.v201206120758)
  Only one of the following can be installed at once: 
    Xtext 2.0.1.v201108020636 (org.eclipse.xtext 2.0.1.v201108020636)
    Xtext 1.0.2.v201102150722 (org.eclipse.xtext 1.0.2.v201102150722)
    Xtext 2.1.1.v201111141332 (org.eclipse.xtext 2.1.1.v201111141332)
    Xtext 2.3.0.v201206120633 (org.eclipse.xtext 2.3.0.v201206120633)
    Xtext 2.3.1.v201208210947 (org.eclipse.xtext 2.3.1.v201208210947)
    Xtext 2.0.0.v201106070531 (org.eclipse.xtext 2.0.0.v201106070531)
    Xtext 2.2.1.v201112130541 (org.eclipse.xtext 2.2.1.v201112130541)
  Cannot satisfy dependency:
    From: MWE 2 language SDK 2.3.0.v201206120758 (org.eclipse.emf.mwe2.language.sdk.feature.group 2.3.0.v201206120758)
    To: org.eclipse.emf.mwe2.launch [2.3.0.v201206120758]
  Cannot satisfy dependency:
    From: Modeling Workflow Engine 2 Launch 2.3.0.v201206120758 (org.eclipse.emf.mwe2.launch 2.3.0.v201206120758)
    To: bundle org.eclipse.xtext [2.3.0,3.0.0)
  Cannot satisfy dependency:
    From: Spray SDK Feature 0.4.0.v20120319-1152 (org.eclipselabs.spray.feature.sdk.feature.group 0.4.0.v20120319-1152)
    To: org.eclipselabs.spray.xtext.tests [0.4.0.v20120319-1152]
  Cannot satisfy dependency:
    From: Spray Language Runtime 0.4.0.v20120319-1152 (org.eclipselabs.spray.xtext 0.4.0.v20120319-1152)
    To: bundle org.eclipse.xtext [2.2.0,2.3.0)
  Cannot satisfy dependency:
    From: Spray Example "One" - Language Tests 0.4.0.v20120319-1152 (org.eclipselabs.spray.xtext.tests 0.4.0.v20120319-1152)
    To: bundle org.eclipselabs.spray.xtext 0.4.0

After uninstalling MWE 2 language SDK, Xtext SDK, Xtext examples and Xbase i 
was finally able to install spray.

But when i tried to do the tutorial in the Spray user guide (New Spray Project 
on epackage at http://www.mod4j.org/busmod with diagramm for class 
BusinessModelDomain) the line

import BusinessDomainDsl.*
diagram busmod for BusinessClass

would result in a @Reference to EClass cannot be resolved. It seems a lot like 
issue 135, which was supposed to be fixed on juno branch, but I still have the 
same problem.

?

Original issue reported on code.google.com by david.ra...@gmail.com on 24 Oct 2012 at 8:16

GoogleCodeExporter commented 8 years ago
Sorry, the code i provided is not 100% correct, the error occurs on

import BusinessDomainDsl.*
diagram busmod for BusinessDomainModel

Original comment by david.ra...@gmail.com on 24 Oct 2012 at 8:18

GoogleCodeExporter commented 8 years ago
version 0.4.0 only works with Eclipse Indigo and does not include the fix for 
resolving the EClasses.

Instead you should use

3rd party:
https://spray.ci.cloudbees.com/job/spray-ci-targetplatform/lastSuccessfulBuild/a
rtifact/releng/org.eclipselabs.spray.repository/target/repository/

Spray:
https://spray.ci.cloudbees.com/job/spray-assembly-build/lastSuccessfulBuild/arti
fact/releng/org.eclipselabs.spray.updatesite/target/repository/

Maybe it is even required to download the zip files instead of using the URLs 
directly.

Original comment by de.abg.r...@gmail.com on 28 Oct 2012 at 8:11

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

Original comment by de.abg.r...@gmail.com on 11 Nov 2012 at 12:40