Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Melange Installation In Eclipse #132

Open
Loungagna opened this issue Mar 8, 2021 · 2 comments
Open

Melange Installation In Eclipse #132

Loungagna opened this issue Mar 8, 2021 · 2 comments

Comments

@Loungagna
Copy link

Loungagna commented Mar 8, 2021

The website and this repo are scanty on installing melange within Eclipse.

After installing Text from the marketplace, attempts to install Melange, from the same marketplace fails with:
Cannot complete the install because one or more required items could not be found. Software being installed: Melange SDK Feature 0.2.2.202011161009 (fr.inria.diverse.melange.sdk.feature.group 0.2.2.202011161009) Missing requirement: Melange Metamodel 0.2.0.201706292038 (fr.inria.diverse.melange.metamodel 0.2.0.201706292038) requires 'osgi.bundle; org.eclipse.xtext.xbase [2.7.0,2.11.0)' but it could not be found Missing requirement: Melange Metamodel 0.2.2.202011161009 (fr.inria.diverse.melange.metamodel 0.2.2.202011161009) requires 'osgi.bundle; org.eclipse.gemoc.dsl.model 0.0.0' but it could not be found Cannot satisfy dependency: From: Melange 0.2.2.202011161009 (fr.inria.diverse.melange 0.2.2.202011161009) To: osgi.bundle; fr.inria.diverse.melange.metamodel 0.1.0 Cannot satisfy dependency: From: Melange SDK Feature 0.2.2.202011161009 (fr.inria.diverse.melange.sdk.feature.group 0.2.2.202011161009) To: org.eclipse.equinox.p2.iu; fr.inria.diverse.melange [0.2.2.202011161009,0.2.2.202011161009]

So with a standard Java Developer Eclipse, and Text already installed, how does one install Melange, so that the tutorials can be followed?

@dvojtise
Copy link
Contributor

dvojtise commented Mar 9, 2021

Apparently, you used a version of melange that requires xtext 2.10 which isn't the one installed in your eclipse (you haven't indicated the version of neither xtext, nor eclipse in your issue :-( )

you can try another (more recent) version of melange which can be used with a more recent version of eclipse.

such as update site http://melange.inria.fr/updatesite/nightly/update_2020-11-16/ (or one of the http://melange.inria.fr/updatesite/nightly/ corresponding to your eclipse version)

alternatively, you can use a prebuilt eclipse package with melange already installed such as the GEMOC studio (http://gemoc.org/download.html)

@dvojtise
Copy link
Contributor

dvojtise commented Mar 9, 2021

more specifically, if you start from a Eclipse for java developer I strongly advice to install xText from the Help->Install new software... -> (http://download.eclipse.org/releases/xxxx update site where the xxx version correspond to your current eclipse version ) in order to make sure that the tool is designed for this version

(Marketplace may not ensure correct versions of the final installation)

This method should be preferred whenever possible (ie. for all components available on http://download.eclipse.org/releases/xxxx)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants