Xtext 2.9.1 and Eclipse Photon Milestone 6 (4.8.0M6) [message #1787005] |
Thu, 17 May 2018 08:54 |
Andreas Flügge 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 #1787010 is a reply to message #1787005] |
Thu, 17 May 2018 09:23 |
|
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 |
Andreas Flügge 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
|
|
|
|
Powered by
FUDForum. Page generated in 0.04034 seconds