Skip to main content



      Home
Home » Modeling » EMF » XCore: Bundle 'org.eclipse.emf.ecore.xcore.lib' cannot be resolved(A newly created Xcore project has an invalid manifest.mf)
XCore: Bundle 'org.eclipse.emf.ecore.xcore.lib' cannot be resolved [message #1844980] Fri, 01 October 2021 09:25 Go to next message
Eclipse UserFriend
Hi

I'm just getting started with Xcore. Unfortunately, when I create a new Xcore project, an invalid MANIFEST.mf file is created with the error "Bundle 'org.eclipse.emf.ecore.xcore.lib' cannot be resolved".

I have tried to find a solution, e.g. by looking at https://www.eclipse.org/forums/index.php/t/783003/

but their solution seems to be to remove the dependency because they don't need it. I do need it.

What could be wrong? Can I edit my target platform somehow to resolve this?

Kind regards

Simon

[Updated on: Fri, 01 October 2021 11:18] by Moderator

Re: XCore: Bundle 'org.eclipse.emf.ecore.xcore.lib' cannot be resolved [message #1844984 is a reply to message #1844980] Fri, 01 October 2021 12:05 Go to previous messageGo to next message
Eclipse UserFriend
If you checked that it's not present in your target platform? Is your target platform just your running IDE itself? If Xcore is installed in the IDE then I expect that library to be present as well in the IDE installation and in the target platform derived from that...
Re: XCore: Bundle 'org.eclipse.emf.ecore.xcore.lib' cannot be resolved [message #1845033 is a reply to message #1844984] Mon, 04 October 2021 03:58 Go to previous messageGo to next message
Eclipse UserFriend
Hi Ed. Thank you for the reply. Currently, I had a custom target platform configured (actually, just the default target platform that is generated by a new (Maven based) Xtext project). Based on your suggestions, I did some more testing, and found out that when I just use the default target platform of the IDE itself, Xcore seems to work fine.

Is it possible to add the Xcore lib to the custom target platform of my Xtext project? Which location should I add?

Kind regards

Simon
Re: XCore: Bundle 'org.eclipse.emf.ecore.xcore.lib' cannot be resolved [message #1845038 is a reply to message #1845033] Mon, 04 October 2021 07:11 Go to previous messageGo to next message
Eclipse UserFriend
You can add any one of these:

https://download.eclipse.org/modeling/emf/emf/builds/

Or use one of these "release train" repositories:

https://download.eclipse.org/releases/
Re: XCore: Bundle 'org.eclipse.emf.ecore.xcore.lib' cannot be resolved [message #1847055 is a reply to message #1845038] Wed, 13 October 2021 04:56 Go to previous message
Eclipse UserFriend
Thank you. Adding the link https://download.eclipse.org/releases/2021-03 worked.
Previous Topic:[CDO] Best way to force unlocking view/locking manager
Next Topic:EMF XML Serialization - change xsi:type to another attribute
Goto Forum:
  


Current Time: Mon Jul 07 19:54:07 EDT 2025

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

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

Back to the top