Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 13:25 Go to next message
Simon Cockx is currently offline Simon CockxFriend
Messages: 69
Registered: October 2021
Member
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 15:18]

Report message to a 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 16:05 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
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...

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: XCore: Bundle 'org.eclipse.emf.ecore.xcore.lib' cannot be resolved [message #1845033 is a reply to message #1844984] Mon, 04 October 2021 07:58 Go to previous messageGo to next message
Simon Cockx is currently offline Simon CockxFriend
Messages: 69
Registered: October 2021
Member
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 11:11 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
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/


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: XCore: Bundle 'org.eclipse.emf.ecore.xcore.lib' cannot be resolved [message #1847055 is a reply to message #1845038] Wed, 13 October 2021 08:56 Go to previous message
Simon Cockx is currently offline Simon CockxFriend
Messages: 69
Registered: October 2021
Member
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: Sat Apr 27 02:17:50 GMT 2024

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

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

Back to the top