Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
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:
org.eclipse.platform
org.eclipse.platform.doc.user
org.eclipse.platform.feature.group
org.eclipse.platform.feature.jar
org.eclipse.platform_root
Here's what I get (cleaned up) when I try to update the platform in the 3.6 SDK with the one from the 3.6.1 p2 zip
Cannot complete the install because of a conflicting dependency.
Software being installed: Eclipse Platform 3.6.1.r361_v20100909-9gF78GrkFqw7GrsZnvz0JWNTeb6fue6896L (org.eclipse.platform.feature.group 3.6.1.r361_v20100909-9gF78GrkFqw7GrsZnvz0JWNTeb6fue6896L)
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 once:
Eclipse Platform 3.6.0.v201006080911 (org.eclipse.platform 3.6.0.v201006080911)
Eclipse Platform 3.6.1.v201009090800 (org.eclipse.platform 3.6.1.v201009090800)
[snip]

I've tried specifying each of the IUs listed above. None of them work.

Finally, here's the cmdline I'm using:

"C:\eclipse_3.7\eclipsec" ^
   -application org.eclipse.equinox.p2.director  ^
   -nosplash ^
   -consoleLog ^
   -profile SDKProfile ^
   -installIU "org.eclipse.platform.feature.group" ^
   -repository file:/f:/temp/testp2/plat361p2 ^
   -destination f:\temp\testp2\sdk36\eclipse
  
John


At 11:46 AM 10/27/2011, DJ Houghton wrote:

Yes, you should be able to update the platform via 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.

Back to the top