Community
Participate
Working Groups
I've just got a fresh "Eclipse IDE for C/C++ Developers" package and now I'm trying to install the Subclipse there using the http://subclipse.tigris.org/update_1.6.x/ update site. The dependency check passes, the packages are being downloaded as well, but during the installation phase I get the following: ---- An error occurred while collecting items to be installed session context was:(profile=epp.package.cpp, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). No repository found containing: osgi.bundle,org.eclipse.jdt.core,3.6.0.v_A58 No repository found containing: osgi.bundle,org.eclipse.jdt.core.manipulation,1.3.0.v20100520-0800 No repository found containing: osgi.bundle,org.eclipse.jdt.debug,3.6.0.v20100526 No repository found containing: osgi.bundle,org.eclipse.jdt.launching,3.5.100.v20100526 No repository found containing: osgi.bundle,org.eclipse.jdt.ui,3.6.0.v20100602-1600 ---- It seems that it somehow requires JDT package which is absent in the C/C++ -only package.. Actually I would not like to get JDT in this specific platform install, I'd like to keep it possibly small. Still if it requires JDT, why does it pass dependency check? If I disable the "Contact all update sites..." in the "Install new software" dialog, it would install successfully. The Subcluose support forum says that the issure is related to P2 not to Sublcipse: http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2625129 -- Configuration Details -- Product: Eclipse 1.3.0.20100617-0520 (org.eclipse.epp.package.cpp.product) Installed Features: org.eclipse.platform 3.6.0.v20100602-9gF78GpqFt6trOGhL60z0oEx3fz-JKNwxPY
p2 goes to Equinox/p2. This has nothing to do with Platform/Ant.
There is apparently an optional requirement on the JDT: http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&viewType=browseAll&dsMessageId=2380335#messagefocus There is metadata available for the JDT so it is selected to be installed to satisfy that optional dependency. The rest looks like bug 290782 which seems to be a problem when the eclipse.org servers get a little overloaded around release day.
Seems to be it. I've just tried it once again with fresh Eclipse/CDT installation, and the Subclipse installed successfully, without any errors message. So it must have been the server overload problem indeed. Still it has updated and installed the JDT which I don't actually want to have in CDT installation: --- org.eclipse.jdt.core (3.6.0.v_A58) "Java Development Tools Core" [Active] org.eclipse.jdt.core.manipulation (1.3.0.v20100520-0800) "Java Code Manipulation Functionality" [Active] org.eclipse.jdt.debug (3.6.0.v20100526) "JDI Debug Model" [Starting] org.eclipse.jdt.launching (3.5.100.v20100526) "Java Development Tools Launching Support" [Starting] org.eclipse.jdt.ui (3.6.0.v20100602-1600) "Java Development Tools UI" [Active] --- As Mark Phippard wrote in the Sublcipse forum thread you mentioned above: --- JDT is an optional dependency. I think just because we add some UI to the Java Package Explorer view. Maybe Eclipse 3.5 handles optional dependencies differently? --- So I believe I don't need to have this optional dependency installed as I will never see the Package Explorer in CDT. So it seems that either the Subclipse developers should change the plugin description somehow, or the P2 should handle the optional requirements in some more intellectual way..
And one more thing. In the previous Eclipse/CDT installation (where I experienced the original bug) each time I try to install something via Install New Software the installer tries to continue downloading JDT parts if I don't disable "Contact all update sites...". Even though the plugin I'm installing has no references to JDT at all.
*** This bug has been marked as a duplicate of bug 290782 ***