Home » Modeling » EMF » [XCore] org.eclipse.emf.ecore.xcore.lib cannot be resolved(Problem with tutorial https://wiki.eclipse.org/Xcore#Modeling_for_Programmers_and_Programming_for_Modelers)
[XCore] org.eclipse.emf.ecore.xcore.lib cannot be resolved [message #1388210] |
Thu, 26 June 2014 06:03 |
Marco Descher Messages: 197 Registered: October 2010 Location: Austria |
Senior Member |
|
|
Hy there,
I tried your tutorial both with Kepler and now with Luna. I installed the EMF - Eclipse Modeling Framework Xcore SDK, created an XCore Project and it works fine.
However, on every Project/clean or rebuild in Kepler the following bundles get added to the Manifest, which I can not resolve:
org.eclipse.xtext.xbase.lib;visibility:=reexport,
org.eclipse.emf.ecore.xcore.lib;visibility:=reexport,
on Luna, the same as befor, but just the following
org.eclipse.emf.ecore.xcore.lib;visibility:=reexport,
Funny thing is, I don't seem to need them, as just removing the requirement removes all build problems. I also tried to find the required libraries. I do not seem to find an update site to install this feature, however.
Whats the matter with this? Thanks for your help, as it is really annoying to have to manually remove the dependency after each compile run.
|
|
|
Re: [XCore] org.eclipse.emf.ecore.xcore.lib cannot be resolved [message #1388264 is a reply to message #1388210] |
Thu, 26 June 2014 07:31 |
Ed Merks Messages: 33136 Registered: July 2009 |
Senior Member |
|
|
Marco,
Comments below.
On 26/06/2014 8:03 AM, Marco Descher wrote:
> Hy there,
>
> I tried your tutorial both with Kepler and now with Luna. I installed
> the EMF - Eclipse Modeling Framework Xcore SDK, created an XCore
> Project and it works fine.
>
> However, on every Project/clean or rebuild in Kepler the following
> bundles get added to the Manifest, which I can not resolve:
>
>
> org.eclipse.xtext.xbase.lib;visibility:=reexport,
> org.eclipse.emf.ecore.xcore.lib;visibility:=reexport,
Are these bundles not in your target platform?
>
>
> on Luna, the same as befor, but just the following
>
> org.eclipse.emf.ecore.xcore.lib;visibility:=reexport,
>
>
> Funny thing is, I don't seem to need them, as just removing the
> requirement removes all build problems.
They generally are only needed if you have block expressions in your model?
> I also tried to
> https://github.com/eclipse/emf/blob/master/features/org.eclipse.emf.ecore.xcore.lib-feature/feature.properties
> the required libraries. I do not seem to find an update site to
> install this feature, however.
It sounds like you don't really have a target platform but rather are
using the installed IDE as the target platform. Is that right? Do you
have the Xcore SDK and Xtext SDK installed?
>
> Whats the matter with this? Thanks for your help, as it is really
> annoying to have to manually remove the dependency after each compile
> run.
Note that you can set the GenModel property "Update Classpath" to false
to turn this merging behavior off as a workaround, but I suspect the
problem is more a deficiency in your target platform. You really should
have one and it should have the SDKs in it...
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Re: [XCore] org.eclipse.emf.ecore.xcore.lib cannot be resolved [message #1388295 is a reply to message #1388264] |
Thu, 26 June 2014 08:24 |
Thomas Schindl Messages: 6651 Registered: July 2009 |
Senior Member |
|
|
On 26.06.14 09:31, Ed Merks wrote:
> Marco,
>
> Comments below.
>
> On 26/06/2014 8:03 AM, Marco Descher wrote:
>> Hy there,
>>
>> I tried your tutorial both with Kepler and now with Luna. I installed
>> the EMF - Eclipse Modeling Framework Xcore SDK, created an XCore
>> Project and it works fine.
>>
>> However, on every Project/clean or rebuild in Kepler the following
>> bundles get added to the Manifest, which I can not resolve:
>>
>>
>> org.eclipse.xtext.xbase.lib;visibility:=reexport,
>> org.eclipse.emf.ecore.xcore.lib;visibility:=reexport,
> Are these bundles not in your target platform?
>>
>>
>> on Luna, the same as befor, but just the following
>>
>> org.eclipse.emf.ecore.xcore.lib;visibility:=reexport,
>>
>>
>> Funny thing is, I don't seem to need them, as just removing the
>> requirement removes all build problems.
> They generally are only needed if you have block expressions in your model?
I've updated https://bugs.eclipse.org/bugs/show_bug.cgi?id=437093 maybe
you should mark them optional?
>> I also tried to
>> https://github.com/eclipse/emf/blob/master/features/org.eclipse.emf.ecore.xcore.lib-feature/feature.properties
>> the required libraries. I do not seem to find an update site to
>> install this feature, however.
> It sounds like you don't really have a target platform but rather are
> using the installed IDE as the target platform. Is that right? Do you
> have the Xcore SDK and Xtext SDK installed?
>>
>> Whats the matter with this? Thanks for your help, as it is really
>> annoying to have to manually remove the dependency after each compile
>> run.
> Note that you can set the GenModel property "Update Classpath" to false
That's a nice trick - didn't know about that.
> to turn this merging behavior off as a workaround, but I suspect the
> problem is more a deficiency in your target platform. You really should
> have one and it should have the SDKs in it...
>
>
Tom
|
|
|
Re: [XCore] org.eclipse.emf.ecore.xcore.lib cannot be resolved [message #1388300 is a reply to message #1388264] |
Thu, 26 June 2014 08:30 |
Marco Descher Messages: 197 Registered: October 2010 Location: Austria |
Senior Member |
|
|
> org.eclipse.xtext.xbase.lib;visibility:=reexport,
> org.eclipse.emf.ecore.xcore.lib;visibility:=reexport,
Are these bundles not in your target platform?
I currently simply installed the required SDK. I am working with a target platform in another workspace, can't however figure out which feature to select, to satisfy these dependencies!
Thats when I came to the link, but the feature (EMF - Eclipse Modeling Framework Xcore Library Runtime Library) mentioned there seems not to be part of the EMF Update site http://download.eclipse.org/modeling/emf/emf/updates/releases/.
> on Luna, the same as befor, but just the following
>
> org.eclipse.emf.ecore.xcore.lib;visibility:=reexport,
>
>
> Funny thing is, I don't seem to need them, as just removing the
> requirement removes all build problems.
They generally are only needed if you have block expressions in your model?
Uhm, sorry, don't know 'bout block expressions! Eclipse is forcing the requirement each compile, and as mentioned, I don't really need it - removal works good!
> I also tried to
> https://github.com/eclipse/emf/blob/master/features/org.eclipse.emf.ecore.xcore.lib-feature/feature.properties
> the required libraries. I do not seem to find an update site to
> install this feature, however.
It sounds like you don't really have a target platform but rather are
using the installed IDE as the target platform. Is that right? Do you
have the Xcore SDK and Xtext SDK installed?
I have no problem using a target platform, but what feature to install there?? The only thing is the XCore SDK, is there a XCore runtime or something?
>
> Whats the matter with this? Thanks for your help, as it is really
> annoying to have to manually remove the dependency after each compile
> run.
Note that you can set the GenModel property "Update Classpath" to false
to turn this merging behavior off as a workaround, but I suspect the
problem is more a deficiency in your target platform. You really should
have one and it should have the SDKs in it...[/quote]
Thanks for the info, will try!
|
|
| | | |
Goto Forum:
Current Time: Fri Apr 19 04:03:54 GMT 2024
Powered by FUDForum. Page generated in 0.02237 seconds
|