So, it looks like I'm still
stuck. We now internally have a p2 repo
with the platform.ide IU. So, I can upgrade a pure platform
installation (an installation with only the platform and no upstream
components) via p2 thanks to the help I got from the folks on this list.
However, what I'm ultimately trying to do is upgrade the platform in a
complete Eclipse commercial product--an installation that has not only
the platform, but CDT, RSE and a variety of other components.
Naturally, they all have a dependency on the platform.
So, the question is: how do I swap in a newer platform without
uninstalling all the upstream pieces that rely on the platform? Is that
at all possible? Is there a way to tell p2 "uninstall this piece even
though other things depend on it, so that I may install a newer version
On 10/27/2011 3:32 PM, DJ Houghton wrote:
If I'm reading what you're describing correctly, you are
with a 3.6.0 SDK zip. You can't take a 3.6 SDK and replace the platform
that it contains. What the error message you posted says is that the
SDK 3.6.0 requires the Platform 3.6.0 and if you install Platform 3.6.1
then you will break it.
Coincidentally enough, the p2 team has been working on a new feature so
if you run into the problem described above, we will recommend that you
also update the SDK to 3.6.1 (if available) and then your install will
complete. The feature is almost implemented and will appear in the 3.8
integration builds soon.
If you use the Platform zip (e.g.
eclipse-platform-3.6.1-macosx-cocoa-x86_64.tar.gz) you will see the
So to fix your problem you either need to use a Platform zip (and
update the org.eclipse.platform.ide IU) or change your command-line to
update the org.eclipse.sdk.ide IU.
---2011/10/27 04:01:17 PM---There is no IU called
org.eclipse.platform.ide in the p2 zip
John Cortell <rat042@xxxxxxxxxxxxx>
P2 developer discussions
2011/10/27 04:01 PM
Re: [p2-dev] can platform be updated via p2?
There is no IU called org.eclipse.platform.ide in the p2 zip (org.eclipse.platform-3.6.1.zip). The only IUs
in that p2 with 'platform' in the name are:
Here's what I get (cleaned up) when I try to
the platform in the 3.6 SDK with the one from the 3.6.1 p2 zip
I've tried specifying each of the IUs listed
None of them work.
Cannot complete the install because of a
Software being installed: Eclipse Platform
Software currently installed: Eclipse SDK
3.6.0.I20100608-0911 (org.eclipse.sdk.ide 3.6.0.I20100608-0911)
Only one of the following can be installed at
Eclipse Platform 3.6.0.v201006080911
Eclipse Platform 3.6.1.v201009090800
Finally, here's the cmdline I'm using:
-application org.eclipse.equinox.p2.director ^
-profile SDKProfile ^
-installIU "org.eclipse.platform.feature.group" ^
-repository file:/f:/temp/testp2/plat361p2 ^
At 11:46 AM 10/27/2011, DJ Houghton wrote:
p2-dev mailing list
Yes, you should be able to update the platform
p2. If you have the platform zip, the platform.feature.group may be
blocked by the org.eclipse.platform.ide InstallableUnit. Try updating
that instead. _______________________________________________
p2-dev mailing list