Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Equinox/p2/Removal"

< Equinox‎ | p2
(Update as per confusion in bug 241695 -- users should remove p2 source feature as well as all p2 plugins)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Eclipse platform Ganymede/3.4 contains two provisioning systems: the original Update Manager, and the new [[Equinox p2]] provisioning platform. By default, p2 is in control of the system and the Update Manager is hidden.  This page describes how to revert to the classic Update Manager and remove p2.
+
'''Note:''' ''Although you are able to remove p2 from Eclipse SDK 3.4.x builds, it cannot be removed from 3.5.x builds due to increased integration with other components. In the 3.5 build cycle many components in the SDK have changed their dependencies to be on p2 and to call p2 API, rather than rely on the old Update Manager code, in preparation for removal of the Update Manager completely in a future release.''
  
# Replace the eclipse/configuration/config.ini file with the contents from Eclipse platform version 3.3.2.<ul><li>In the config.ini file, replace the "eclipse.buildId" setting with the correct build id (optional)</li></ul>
+
Eclipse platform Ganymede/3.4 contains two provisioning systems: the original Update Manager, and the new [[Equinox p2]] provisioning platform. By default, p2 is in control of the system and the Update Manager is hidden.  This page describes how to revert to the classic Update Manager and remove p2.
# Replace the eclipse/eclipse.ini file with the contents from Eclipse platform version 3.3.2.
+
# Remove the platform.xml from eclipse/configuration/org.eclipse.update/platform.xml.
+
# Remove the features '''org.eclipse.equinox.p2.user.ui*'''.  This feature is optionally required by org.eclipse.platform, but the platform will function without it
+
# Remove the plugins '''org.eclipse.equinox.p2.*'''
+
# Remove the eclipse/p2 folder (recommended)
+
# Remove the eclipse/dropins folder (optional)
+
  
'''You can also find scripts available in {{Bug|224908}}''' (tested on Linux and Cygwin).
+
# '''Scripts available in {{Bug|224908}} automate this process''' (tested on Linux and Cygwin).
 +
# For manual removal, the following should be deleted:<ul><li>eclipse/plugins/org.eclipse.*.p2*</li><li>eclipse/features/*.p2*</li><li>eclipse/plugins/org.eclipse.ecf*</li><li>eclipse/plugins/*frameworkadmin*</li><li>eclipse/plugins/*sat4j*</li><li>eclipse/plugins/*simpleconfigurator.manipulator*</li><li>eclipse/dropins*</li><li>eclipse/p2*</li><li>eclipse/configuration/*</li></ul>
 +
# Copy '''eclipse/configuration/config.ini''' from a 3.3.2 version of the platform into this release<ul><li>In the config.ini file, replace the "eclipse.buildId" setting with the correct build id (optional)</li></ul>
 +
# Replace the '''eclipse/eclipse.ini''' file with the contents from Eclipse platform version 3.3.2.
  
 
Note an issue existed with removing the source plugins and features pre-3.4M7, see {{Bug|228537}}.
 
Note an issue existed with removing the source plugins and features pre-3.4M7, see {{Bug|228537}}.

Latest revision as of 16:58, 3 January 2011

Note: Although you are able to remove p2 from Eclipse SDK 3.4.x builds, it cannot be removed from 3.5.x builds due to increased integration with other components. In the 3.5 build cycle many components in the SDK have changed their dependencies to be on p2 and to call p2 API, rather than rely on the old Update Manager code, in preparation for removal of the Update Manager completely in a future release.

Eclipse platform Ganymede/3.4 contains two provisioning systems: the original Update Manager, and the new Equinox p2 provisioning platform. By default, p2 is in control of the system and the Update Manager is hidden. This page describes how to revert to the classic Update Manager and remove p2.

  1. Scripts available in bug 224908 automate this process (tested on Linux and Cygwin).
  2. For manual removal, the following should be deleted:
    • eclipse/plugins/org.eclipse.*.p2*
    • eclipse/features/*.p2*
    • eclipse/plugins/org.eclipse.ecf*
    • eclipse/plugins/*frameworkadmin*
    • eclipse/plugins/*sat4j*
    • eclipse/plugins/*simpleconfigurator.manipulator*
    • eclipse/dropins*
    • eclipse/p2*
    • eclipse/configuration/*
  3. Copy eclipse/configuration/config.ini from a 3.3.2 version of the platform into this release
    • In the config.ini file, replace the "eclipse.buildId" setting with the correct build id (optional)
  4. Replace the eclipse/eclipse.ini file with the contents from Eclipse platform version 3.3.2.

Note an issue existed with removing the source plugins and features pre-3.4M7, see bug 228537.

Note that an issue was observed with I20080422-0800 and P2 removed, see bug 228546.

Copyright © Eclipse Foundation, Inc. All Rights Reserved.