Bug 9807 - org.eclipse.rse.subsystems.terminals.core required by Yocto Project ADT Plug-in 1.4.0
Summary: org.eclipse.rse.subsystems.terminals.core required by Yocto Project ADT Plug-...
Status: RESOLVED FIXED
Alias: None
Product: Eclipse Plugin
Classification: Yocto Project Subprojects
Component: eclipse-plugin (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided major
Target Milestone: ---
Assignee: Tim Orling
QA Contact: Libertad
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-06-21 13:57 UTC by joerg.rebenstorf
Modified: 2016-06-22 20:27 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description joerg.rebenstorf 2016-06-21 13:57:52 UTC
The Yocto Project ADT Plug-in cannot be installed on Mars.2 (and Mars.1) due to missing requirement.

Cannot complete the install because one or more required items could not be found.
  Software being installed: Yocto Project ADT Plug-in 1.4.0.201604192045 (org.yocto.sdk.feature.group 1.4.0.201604192045)
  Missing requirement: Yocto Project ADT Plug-in 1.4.0.201604192045 (org.yocto.sdk.feature.group 1.4.0.201604192045) requires 'org.eclipse.rse.subsystems.terminals.core 0.0.0' but it could not be found

IMO org.eclipse.rse.subsystems.terminals.core is missing in Mars.2 (4.5.2 Build id: M20160212-1500) release - it is the Eclipse CDT bundle that I installed (Eclipse IDE for C/C++ Developers).

The Yocto Project ADT Plug-in that I tried to install is from:
http://downloads.yoctoproject.org/releases/eclipse-plugin/2.1.0/mars/
Comment 1 Tim Orling 2016-06-21 17:18:11 UTC
Duplicate of #9105

*** This bug has been marked as a duplicate of bug 9105 ***
Comment 2 joerg.rebenstorf 2016-06-22 10:13:23 UTC
Yes, I think the bug reports are related. Thank you for making it a duplicate.

Now I compiled your timo/mars.2-master branch of git://git.yoctoproject.org/poky-contrib as IMO it shall contain the suggested bugfix for my problem and compiled it to get a Yocto Plug-in for Eclipse.

When installing the plug-in via Eclipse IDE now I get another missing dependency:

Cannot complete the install because one or more required items could not be found.
  Software being installed: Yocto Project ADT Plug-in 1.4.1.201606221154 (org.yocto.sdk.feature.group 1.4.1.201606221154)
  Missing requirement: Yocto Project ADT Plug-in 1.4.1.201606221154 (org.yocto.sdk.feature.group 1.4.1.201606221154) requires 'org.eclipse.rse.terminals.feature.group 3.8.0.201505221634' but it could not be found

How can I install 'org.eclipse.rse.terminals.feature.group 3.8.0.201505221634'?

In you commit I see this change ...

-      <import feature="org.eclipse.rse.terminals" version="3.7.0" match="greaterOrEqual"/>
+      <import feature="org.eclipse.rse.terminals" version="3.8.0.201505221634" match="greaterOrEqual"/>

... so I think Eclipse Installer is right, this rse.terminals component is really required by the plug-in.
Comment 3 joerg.rebenstorf 2016-06-22 10:43:11 UTC
I realized that my comment as of today only applies to Mars.1 (even if updated to Mars.2) where there are problems with the installation still due to missing dependencies.

For Mars.2 (without update, directly installed as Mars.2) it works fine.
Comment 4 Tim Orling 2016-06-22 20:27:54 UTC
The root of this issue is that upstream Eclipse Terminal Management project (TM) decided to deprecate the rse.terminals package and moved the update site. The goal of the branch which was mentioned in #9105 was to make the plugin installable in a "latest release" which was Mars.2 at the time (Neon was officially released today). During development of that branch, we had not tested a Mars.1 update path, since Mars.2 had already been released.

You should be able to add http://download.eclipse.org/tm/updates/4.0/ under the "Install New Software" interface and install rse.terminals manually. Then the already existing released plugin should install, as others have mentioned on #9105. 

If you feel there is a different issue going on in your use case, please feel free to elaborate and re-open this bug.