Skip to main content



      Home
Home » Modeling » Ecore Tools » [Texo] Install texo in eclipse neon fails - org.json not found
[Texo] Install texo in eclipse neon fails - org.json not found [message #1737129] Tue, 05 July 2016 21:04 Go to next message
Eclipse UserFriend
I've been using Texo for a while (hi Martin!) with Eclipse Mars. Just building a new Eclipse Neon install and trying to add Texo. I added the http://download.eclipse.org/modeling/emft/texo/updates/interim to Eclipse and when I try to install all the Texo packages I get:

Cannot complete the install because one or more required items could not be found.
  Software being installed: EMF Texo Runtime Libraries (Incubation) 0.9.0.v201606022133 (org.eclipse.emf.texo.runtime.core.feature.group 0.9.0.v201606022133)
  Missing requirement: org.eclipse.emf.texo.json 0.9.0.v201606022133 requires 'package org.json 0.0.0' but it could not be found
  Cannot satisfy dependency:
    From: EMF Texo Runtime Libraries (Incubation) 0.9.0.v201606022133 (org.eclipse.emf.texo.runtime.core.feature.group 0.9.0.v201606022133)
    To: org.eclipse.emf.texo.json [0.9.0.v201606022133]


I don't recall having this problem in the past so I'm not sure if its my brain failing or if its a new issue with Texo and Neon.

I've googled around and see a few references that basically say the texo pom expects org.json to be installed already but doesn't specify how to get it. I don't see any eclipse packages for "JSON" but perhaps I'm not using the right eclipse update site?

A few pointers would be most welcomed.

Re: [Texo] Install texo in eclipse neon fails - org.json not found [message #1737166 is a reply to message #1737129] Wed, 06 July 2016 04:11 Go to previous messageGo to next message
Eclipse UserFriend
Hi, I guess you might have had org.json already installed at that time or it was part of the release train update-site and as such was found when trying to install texto.

Such third parties libraries are generally provided through the Eclipse Orbit project:
http://download.eclipse.org/tools/orbit/downloads/drops/R20160520211859/

You should be able to install org.json from the update-site mentionned on that page.


Re: [Texo] Install texo in eclipse neon fails - org.json not found [message #1737270 is a reply to message #1737166] Wed, 06 July 2016 14:26 Go to previous messageGo to next message
Eclipse UserFriend
Thanks for the pointer to Orbit. I was able to add Orbit and install JSON. However, now the texo install fails with:
Cannot complete the install because one or more required items could not be found.
  Software being installed: EMF Texo Runtime Libraries (Incubation) 0.9.0.v201606022133 (org.eclipse.emf.texo.runtime.core.feature.group 0.9.0.v201606022133)
  Missing requirement: Texo Server (Incubation) 0.9.0.v201606022133 (org.eclipse.emf.texo.server 0.9.0.v201606022133) requires 'bundle javax.persistence [2.0.0,3.0.0)' but it could not be found
  Cannot satisfy dependency:
    From: EMF Texo Runtime Libraries (Incubation) 0.9.0.v201606022133 (org.eclipse.emf.texo.runtime.core.feature.group 0.9.0.v201606022133)
    To: org.eclipse.emf.texo.server [0.9.0.v201606022133]


I went back to Orbit and I found Java Persistence package but it's a 1.0.0 version and Texo wants 2.0 or later. The only Java Persistence package I see on Orbit is the Source package for 2.x.x.
Re: [Texo] Install texo in eclipse neon fails - org.json not found [message #1737998 is a reply to message #1737270] Thu, 14 July 2016 15:34 Go to previous messageGo to next message
Eclipse UserFriend
Today I had Eclipse do "Check for Updates" and it found Java Persistence 2.x.x and it installed fine. Now the Texo install complains about org.eclipse.xpand:

Cannot complete the install because one or more required items could not be found.
  Software being installed: EMF Texo (Incubation) 0.9.0.v201606022133 (org.eclipse.emf.texo.feature.group 0.9.0.v201606022133)
  Missing requirement: Texo Generator (Incubation) 0.9.0.v201606022133 (org.eclipse.emf.texo.generator 0.9.0.v201606022133) requires 'bundle org.eclipse.xpand [0.7.0,2.2.0)' but it could not be found
  Cannot satisfy dependency:
    From: EMF Texo (Incubation) 0.9.0.v201606022133 (org.eclipse.emf.texo.feature.group 0.9.0.v201606022133)
    To: org.eclipse.emf.texo.generator [0.9.0.v201606022133]


I went back into Eclipse -> Install New Software and selected "All Sites". Selected M2M/Xpand 2.2.0 (all packages) and tried to install. That install fails with:

An error occurred while installing the items
session context was:(profile=_usr_local_eclipse_mc-eclipse2_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> [R]org.antlr.runtime.source 3.2.0.v201101311130, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.AddSourceBundleAction).
The artifact file for osgi.bundle,org.antlr.runtime.source,3.2.0.v201101311130 was not found.


I went back to Install New Software and found ANTLR Runtime Source 3.2.0 installed and restarted Eclipse.

Then I tried to install M2T/Xpand 2.2.0 and it gives the same error.

This is truly dependency hell! Why has everything broken so badly? Is this Eclipse Neon or is it the Texo dependencies that are broken?

If you want to reproduce this, simple install Neon and select the "Modeling" package. Then try to install Texo and you should see similar results. I've tried this on both a Linux and Windows 10 system.
Re: [Texo] Install texo in eclipse neon fails - org.json not found [message #1738002 is a reply to message #1737998] Thu, 14 July 2016 16:40 Go to previous messageGo to next message
Eclipse UserFriend
Hi Mike,
Give me a couple of days to solve this. I will update the build environment of Texo also to build against Neon.

gr. Martin
Re: [Texo] Install texo in eclipse neon fails - org.json not found [message #1740019 is a reply to message #1738002] Mon, 08 August 2016 05:02 Go to previous message
Eclipse UserFriend
Hi,

is there any progress with this issue? I could successfully install it on neon after adding an old update site for the xpand dependency: http://download.eclipse.org/modeling/tmf/xtext/updates/releases/xpand/R201406030414/

Regards,
Michael.
Previous Topic:Transforming Ecore diagrams with mediniQVT
Next Topic:Creating an "instance editor" ontop of ECore-model
Goto Forum:
  


Current Time: Tue Jul 08 23:29:56 EDT 2025

Powered by FUDForum. Page generated in 0.07145 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top