Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtext 2.9.1 and Eclipse Photon Milestone 6 (4.8.0M6)(Problem installing Plugin generated with Xtext 2.9.1 in Eclipse Photon)
Xtext 2.9.1 and Eclipse Photon Milestone 6 (4.8.0M6) [message #1787005] Thu, 17 May 2018 08:54 Go to next message
Andreas  Flügge is currently offline Andreas FlüggeFriend
Messages: 26
Registered: July 2009
Junior Member
Hello!

I've tried to install a plugin genrated with Xtext 2.9.1 in Eclipse Photon (Version: Photon Milestone 6 (4.8.0M6) Build id: 20180315-1217) getting the following error:

An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,prometheuss,1.1.13.201710061140
No repository found containing: org.eclipse.update.feature,prometheuss.sdk,1.1.13.201710061140
No repository found containing: osgi.bundle,prometheuss.ui,1.1.13.201710061140


My questions:

1. Is there a workaround to install the plugin (the problem doesn't exist in Eclipse Oxygen)?

2. If I have to migrate to the current Xtext version, is there some documentation how to do it?

Thanks for your answers.
Best regards, Andreas.
Re: Xtext 2.9.1 and Eclipse Photon Milestone 6 (4.8.0M6) [message #1787006 is a reply to message #1787005] Thu, 17 May 2018 09:07 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 12237
Registered: July 2009
Senior Member
are you sure this stuff is in the update site you test?

Need professional support for Xtext, Xpand, EMF?
Go to: https://xtext.itemis.com
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Xtext 2.9.1 and Eclipse Photon Milestone 6 (4.8.0M6) [message #1787009 is a reply to message #1787006] Thu, 17 May 2018 09:23 Go to previous messageGo to next message
Andreas  Flügge is currently offline Andreas FlüggeFriend
Messages: 26
Registered: July 2009
Junior Member
The plugin stuff (prometheuss ...) is in my local update site.

I'm not sure about the osgi.bundle and org.eclipse.update.feature things. Where should they be found? How can I check it?
Re: Xtext 2.9.1 and Eclipse Photon Milestone 6 (4.8.0M6) [message #1787010 is a reply to message #1787005] Thu, 17 May 2018 09:23 Go to previous messageGo to next message
Karsten Thoms is currently offline Karsten ThomsFriend
Messages: 614
Registered: July 2009
Location: Dortmund, Germany
Senior Member

Hi Andreas!

Quote:

1. Is there a workaround to install the plugin (the problem doesn't exist in Eclipse Oxygen)?

The only fishy thing I see here is org.eclipse.update.feature. Where did you get that from? Might be related to the drop of the Update Manager API in Photon M4:
https://www.eclipse.org/eclipse/news/4.8/M4/#Platform-Dev

Quote:
2. If I have to migrate to the current Xtext version, is there some documentation how to do it?

Not really. If you are already on the new project structure with the .ide project you are relatively safe. We always take care of keeping backward compatibility as far as possible.

The usual way to do this is to create a new project with similar configuration and compare the relevant parts, e.g. dependencies, Manifest, pom.xml etc.
Don't forget to merge plugin.xml_gen.

The rest is custom implementation. This can't be predicted by documentation.

~Karsten
Re: Xtext 2.9.1 and Eclipse Photon Milestone 6 (4.8.0M6) [message #1787066 is a reply to message #1787010] Fri, 18 May 2018 09:57 Go to previous messageGo to next message
Andreas  Flügge is currently offline Andreas FlüggeFriend
Messages: 26
Registered: July 2009
Junior Member
Hello Karsten,

thanks for your hints. I've created a new project and got it to build the plugin based on the new project structure and Xtext 2.14.0. So far, so good.

The problem comes with installing it, still missing some dependencies:

Cannot complete the install because one or more required items could not be found.
  Software being installed: PrometheussDSL Feature 1.0.0.201805180724 (prometheuss.feature.feature.group 1.0.0.201805180724)
  Missing requirement: prometheuss 1.0.0.201805180724 (prometheuss 1.0.0.201805180724) requires 'osgi.bundle; org.eclipse.xtext.xbase.lib 2.14.0' but it could not be found
  Cannot satisfy dependency:
    From: PrometheussDSL Feature 1.0.0.201805180724 (prometheuss.feature.feature.group 1.0.0.201805180724)
    To: org.eclipse.equinox.p2.iu; prometheuss [1.0.0.201805180724,1.0.0.201805180724]


I don't know if this is an Xtext or Eclipse Photon problem?

Best regards
Andreas

[Updated on: Fri, 18 May 2018 09:59]

Report message to a moderator

Re: Xtext 2.9.1 and Eclipse Photon Milestone 6 (4.8.0M6) [message #1787070 is a reply to message #1787066] Fri, 18 May 2018 11:24 Go to previous message
Karsten Thoms is currently offline Karsten ThomsFriend
Messages: 614
Registered: July 2009
Location: Dortmund, Germany
Senior Member

No, again a matter of target platform. This time the feature project does not include xbase.lib somehow. Again, create a default project with Eclipse Plug-in, Feature and Update Site and build it. This should work. Then compare against your project.
Previous Topic:Error "Type Duplicate JvmIdentifiableElement '<unnamed>'"
Next Topic:New Project Wizard not shown
Goto Forum:
  


Current Time: Sun Sep 23 06:05:04 GMT 2018

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

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

Back to the top