ktmprabhu / spray

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

Make Spray working in Eclipse Kepler (4.3) #237

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I try to create a Spray Project from EMF Model from your tutorial.
The first issue is no source code is generated in the spray project.
Maybe should I configure some settings? The second issue is spray-file cannot 
resolve my model-class, it is imported to the dependency.  

What steps will reproduce the problem?
1. Creating the EMF model
2. Generating model classes
3. Creating Spray project

I add a picture of the spray-file error and the project I have tried.

Hope you can help me further.

Thanks alot.

Greez

Dowbar

Original issue reported on code.google.com by dowbar2...@googlemail.com on 17 Jan 2013 at 10:12

Attachments:

GoogleCodeExporter commented 8 years ago
I forgot to mention that I use the Eclipse Juno 4.3M4 Version. Hope thats not 
the problem.

Original comment by dowbar2...@googlemail.com on 17 Jan 2013 at 10:13

GoogleCodeExporter commented 8 years ago
Hi dowbar,

Eclipse 4.3 M4 is actually the forth milestone of the next Eclipse relase 
Kepler (not Juno). The Spray plug-ins are restricted to Juno versions. I am 
even not able to install Spray via update site in Eclipse 4.3 M4:

Cannot complete the install because of a conflicting dependency.
  Software being installed: Spray SDK Feature 0.5.0.201301172327 (org.eclipselabs.spray.feature.sdk.feature.group 0.5.0.201301172327)
  Software currently installed: Eclipse SDK 4.3.0.I20121214-0730 (org.eclipse.sdk.ide 4.3.0.I20121214-0730)
  Only one of the following can be installed at once: 
    International Components for Unicode for Java (ICU4J) 4.4.2.v20110823 (com.ibm.icu 4.4.2.v20110823)
    International Components for Unicode for Java (ICU4J) 50.1.0.v20121116-2 (com.ibm.icu 50.1.0.v20121116-2)
  Cannot satisfy dependency:
    From: Eclipse e4 Rich Client Platform 1.1.0.v20121210-193513-9gFTdGWGGGduU3t_iBdO01nz--4 (org.eclipse.e4.rcp.feature.group 1.1.0.v20121210-193513-9gFTdGWGGGduU3t_iBdO01nz--4)
    To: com.ibm.icu [50.1.0.v20121116-2]
  Cannot satisfy dependency:
    From: Eclipse Platform 4.3.0.v20121210-194028-9PF7VHLnG0BBkXvb-5n61JdBeLn2Lmpr5BVxLP (org.eclipse.platform.feature.group 4.3.0.v20121210-194028-9PF7VHLnG0BBkXvb-5n61JdBeLn2Lmpr5BVxLP)
    To: org.eclipse.rcp.feature.group [4.3.0.v20121212-184727-7IAUA7Bs-QiyWqWVNz0_nT4qjCeP]
  Cannot satisfy dependency:
    From: Eclipse RCP 4.3.0.v20121212-184727-7IAUA7Bs-QiyWqWVNz0_nT4qjCeP (org.eclipse.rcp.feature.group 4.3.0.v20121212-184727-7IAUA7Bs-QiyWqWVNz0_nT4qjCeP)
    To: org.eclipse.e4.rcp.feature.group [1.1.0.v20121210-193513-9gFTdGWGGGduU3t_iBdO01nz--4]
  Cannot satisfy dependency:
    From: Eclipse Project SDK 4.3.0.v20120906-193403-7V7p-DQ72z-z-8U8IIz0Ennw4DFBv216MQ_3m27IU_Kz0 (org.eclipse.sdk.feature.group 4.3.0.v20120906-193403-7V7p-DQ72z-z-8U8IIz0Ennw4DFBv216MQ_3m27IU_Kz0)
    To: org.eclipse.platform.feature.group [4.3.0.v20121210-194028-9PF7VHLnG0BBkXvb-5n61JdBeLn2Lmpr5BVxLP]
  Cannot satisfy dependency:
    From: Eclipse SDK 4.3.0.I20121214-0730 (org.eclipse.sdk.ide 4.3.0.I20121214-0730)
    To: org.eclipse.sdk.feature.group [4.3.0.v20120906-193403-7V7p-DQ72z-z-8U8IIz0Ennw4DFBv216MQ_3m27IU_Kz0]
  Cannot satisfy dependency:
    From: Xtext UI Core 2.3.1.v201208210947 (org.eclipse.xtext.ui 2.3.1.v201208210947)
    To: bundle com.ibm.icu [4.0.0,5.0.0)
  Cannot satisfy dependency:
    From: Spray Example "One" - Language Tests 0.5.0.201301172327 (org.eclipselabs.spray.examples.one 0.5.0.201301172327)
    To: bundle org.eclipse.xtext.ui [2.3.0,2.4.0)
  Cannot satisfy dependency:
    From: Spray SDK Feature 0.5.0.201301172327 (org.eclipselabs.spray.feature.sdk.feature.group 0.5.0.201301172327)
    To: org.eclipselabs.spray.examples.one [0.5.0.201301172327]

If you really want to use Eclipse 4.3 you have to build Spray from sources and 
adjust the version ranges in the MANIFEST files before. But I am not sure if 
there breaking API changes.

I would recommand to stay with Eclipse 4.2 (Juno). We will start thinking about 
supporting Kepler after the next official release of Spray.

Regards,
Joerg

Original comment by de.abg.r...@gmail.com on 19 Jan 2013 at 9:31

GoogleCodeExporter commented 8 years ago
Hi Joerg,

thanks for the quick answer, I tried this on Eclipse Juno now, but if I want to 
install the Spray SDK Feature 0.4.0.v20120319-1152 there are a lot of missing 
feature groups 

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 Common Types 2.0.1.v201108020636 (org.eclipse.xtext.common.types 2.0.1.v201108020636)
    Xtext Common Types 1.0.2.v201102150722 (org.eclipse.xtext.common.types 1.0.2.v201102150722)
    Xtext Common Types 2.1.1.v201111141332 (org.eclipse.xtext.common.types 2.1.1.v201111141332)
    Xtext Common Types 2.3.0.v201206120633 (org.eclipse.xtext.common.types 2.3.0.v201206120633)
    Xtext Common Types 2.3.1.v201208210947 (org.eclipse.xtext.common.types 2.3.1.v201208210947)
    Xtext Common Types 2.2.1.v201112130541 (org.eclipse.xtext.common.types 2.2.1.v201112130541)
  Cannot satisfy dependency:
    From: Modeling Workflow Engine 2 Language 2.3.0.v201206120758 (org.eclipse.emf.mwe2.language 2.3.0.v201206120758)
    To: bundle org.eclipse.xtext.common.types 2.3.0
  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.language [2.3.0.v201206120758]
  Cannot satisfy dependency:
    From: Spray Feature 0.4.0.v20120319-1152 (org.eclipselabs.spray.feature.feature.group 0.4.0.v20120319-1152)
    To: org.eclipselabs.spray.xtext [0.4.0.v20120319-1152]
  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.feature.feature.group [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.common.types [2.2.0,2.3.0)

I put all this update site link to the update

    http://download.eclipse.org/releases/juno
    http://download.itemis.com/updates/releases/2.0.0/
    http://download.eclipse.org/technology/swtbot/helios/dev-build/update-site
    http://xtext-utils.eclipselabs.org.codespot.com/git.distribution/releases/unittesting-0.9.x
    http://update.eclemma.org
    http://knittig.de/googlecode-mylyn-connector/update/

and 

   https://spray.ci.cloudbees.com/job/spray-ci-targetplatform/lastSuccessfulBuild/artifact/releng/org.eclipselabs.spray.repository/target/repository/
   http://spray.eclipselabs.org.codespot.com/git.distribution/releases

Why can't I install it?

If I install the 0.5.0 Version the installation works but there is the same 
problem like the previous post. The spray project generate not all the sources 
and my emf generated source can be not resolve.

Greez

dowbar

Original comment by dowbar2...@googlemail.com on 19 Jan 2013 at 10:28

GoogleCodeExporter commented 8 years ago
Hi,

if I install the third party library from your link and after that I install 
the spray feature 0.4.0

I got this:

Cannot complete the install because one or more required items could not be 
found.
  Software being installed: Spray SDK Feature 0.4.0.v20120319-1152 (org.eclipselabs.spray.feature.sdk.feature.group 0.4.0.v20120319-1152)
  Missing requirement: Spray Example "One" - Language Tests 0.4.0.v20120319-1152 (org.eclipselabs.spray.xtext.tests 0.4.0.v20120319-1152) requires 'bundle org.aopalliance 1.0.0' but it could not be found
  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]

Greez 

dowbar

Original comment by dowbar2...@googlemail.com on 19 Jan 2013 at 10:39

GoogleCodeExporter commented 8 years ago
Hi dowbar,

the 0.4.0 release is for Indigo and a bit old. The last stable build should be 
used instead. And before installing the stable build 0.4. should be uninstalled 
if it was installed before. See also the user doc:

https://spray.ci.cloudbees.com/job/spray-docs-build/lastSuccessfulBuild/artifact
/docs/org.eclipselabs.spray.doc.user/docs/html/SprayUserGuide.html#InstallSpray

I tested the update sites for the latest builds of Spray and 3rd party and 
generation works for me. Did you generate the classes out of the genmodel and 
did you add the dependency from Spray project to your EMF project. Also note, 
that the properties is now always named spray.properties (before it was named 
like your chosen diagram name). 

Cheers,
Joerg

Original comment by de.abg.r...@gmail.com on 20 Jan 2013 at 7:48

GoogleCodeExporter commented 8 years ago
Hi Joerg,

thank you for your help, now it works fine!

Greez 

dowbar

Original comment by dowbar2...@googlemail.com on 22 Jan 2013 at 12:44

GoogleCodeExporter commented 8 years ago

Original comment by joswar...@gmail.com on 10 Feb 2013 at 6:22

GoogleCodeExporter commented 8 years ago
Create a new branch "kepler" for preparing to move Spray to Kepler (but main 
development of Spray is still done on master (=Juno) resp. the corresponding 
feature branch).

The 3rd-party repository can be used as update site from here:
https://spray.ci.cloudbees.com/job/spray-ci-targetplatform-kepler/lastSuccessful
Build/artifact/releng/org.eclipselabs.spray.repository/target/repository/

There are still problems with generation under Kepler, that have to be fixed, 
so no update site for Spray (Kepler) so far

Original comment by de.abg.r...@gmail.com on 3 Mar 2013 at 4:13

GoogleCodeExporter commented 8 years ago

Original comment by de.abg.r...@gmail.com on 17 Apr 2013 at 8:07

GoogleCodeExporter commented 8 years ago

Original comment by de.abg.r...@gmail.com on 20 May 2013 at 1:35

GoogleCodeExporter commented 8 years ago
release 0.5.0 has been made and this compatible with Kepler

Original comment by de.abg.r...@gmail.com on 14 Jul 2013 at 12:54