Home » Modeling » TMF (Xtext) » plugin Dependencies 2.8
| |
Re: plugin Dependencies 2.8 [message #1690405 is a reply to message #1690333] |
Fri, 27 March 2015 03:57   |
Eclipse User |
|
|
|
Hi,
Thanks for your reaction!
That is exactly what I mean. With 2.7.3 I have written the following in my Manifest.mf
Require-Bundle: org.eclipse.xtext;bundle-version="2.7.3";visibility:=reexport,
org.eclipse.xtext.xbase;resolution:=optional;visibility:=reexport,
org.eclipse.xtext.generator;bundle-version="2.7.3",
org.apache.commons.logging;bundle-version="1.0.4";resolution:=optional,
org.eclipse.emf.codegen.ecore;resolution:=optional,
org.eclipse.emf.mwe.utils;resolution:=optional,
org.eclipse.emf.mwe2.launch;resolution:=optional,
org.eclipse.xtext.util;bundle-version="2.7.3",
org.eclipse.emf.ecore,
org.eclipse.emf.common,
org.antlr.runtime,
org.eclipse.xtext.common.types;bundle-version="2.7.3",
org.objectweb.asm;bundle-version="[5.0.1,6.0.0)";resolution:=optional
Import-Package: org.apache.log4j,
org.eclipse.xtext.xbase.lib
So when I put everything under "Import-package" it should work?
ps.
Your book example hello.buckminster didnt work for me, at least, either.
[Updated on: Fri, 27 March 2015 04:14] by Moderator
|
|
|
Re: plugin Dependencies 2.8 [message #1690422 is a reply to message #1690405] |
Fri, 27 March 2015 05:24   |
Eclipse User |
|
|
|
On 27/03/2015 08:57, evert theman wrote:
> Hi,
>
> That is exactly what I mean. With 2.7.3 I have written the following in
> my Manifest.mf
>
> Require-Bundle:
> org.eclipse.xtext;bundle-version="2.7.3";visibility:=reexport,
> org.eclipse.xtext.xbase;resolution:=optional;visibility:=reexport,
> org.eclipse.xtext.generator;bundle-version="2.7.3",
> org.apache.commons.logging;bundle-version="1.0.4";resolution:=optional,
> org.eclipse.emf.codegen.ecore;resolution:=optional,
> org.eclipse.emf.mwe.utils;resolution:=optional,
> org.eclipse.emf.mwe2.launch;resolution:=optional,
> org.eclipse.xtext.util;bundle-version="2.7.3",
> org.eclipse.emf.ecore,
> org.eclipse.emf.common,
> org.antlr.runtime,
> org.eclipse.xtext.common.types;bundle-version="2.7.3",
> org.objectweb.asm;bundle-version="[5.0.1,6.0.0)";resolution:=optional
> Import-Package: org.apache.log4j,
> org.eclipse.xtext.xbase.lib
>
>
> So when I put everything under "Import-package" it should work?
I was talking about installable IU, that is, feature.xml, not
MANIFEST.MF of a plugin.
Moreover, IIRC, Import-Package requirements are not automatically
considered by p2, which considers only Require-Bundle (but again, I'm
not sure of this).
>
> ps.
> Your book example hello.buckminster didnt work for me, at least, either.
>
It does not work as it is with Xtext 2.8.1? Or have you modified
something in it?
cheers
Lorenzo
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book
|
|
| | | | |
Re: plugin Dependencies 2.8 [message #1690501 is a reply to message #1690479] |
Fri, 27 March 2015 12:10   |
Eclipse User |
|
|
|
On 27/03/2015 15:30, evert theman wrote:
> When i try to install my site.p2 on al "vanilla" eclipse(one without
> xtext) i get the following error messages:
>
> Cannot complete the install because one or more required items could not
> be found.
> Software being installed: SDL SDK Feature 1.0.0.201503241315
> settingDefinitionLanguage.sdk.feature.group 1.0.0.201503241315)
> Missing requirement: settingDefinitionLanguage 1.0.0.201503241315
> (settingDefinitionLanguage 1.0.0.201503241315) requires 'bundle
> org.eclipse.xtext [2.8.0,3.0.0)' but it could not be found
> Cannot satisfy dependency:
> From: SDL SDK Feature 1.0.0.201503241315
> (settingDefinitionLanguage.sdk.feature.group 1.0.0.201503241315)
> To: settingDefinitionLanguage [1.0.0.201503241315]
Ok, I suspected that :)
That has nothing to do with the building, it's just that Xtext 2.8.0 is
not present in the Luna update site; you first need to add the Xtext
update site in your Eclipse (you don't need to install anything
manually, just add the Xtext update site), and then you're able to
install your plugins (make sure that "Contact all update sites" is checked).
Hope this clarifies the question.
cheers
Lorenzo
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book
|
|
| | |
Goto Forum:
Current Time: Mon Jul 28 17:20:18 EDT 2025
Powered by FUDForum. Page generated in 0.04555 seconds
|