Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Equinox p2 data paths
We need to stabilize the file system layout of p2 metadata so that we can self-host on p2-provisioned Eclipse installs, and use p2 to upgrade across builds.
Current State
- There is a p2 root directory, either supplied using the "eclipse.p2.data.area" system property, or by default it is eclipse/configuration/org.eclipse.equinox.p2.core/agentdata/.
- Under this root, we find:
- install registry and profile registry
- metadata/ subdirectory, containing the agent's metadata repository (AgentLocation.getMetadataRepositoryURL)
- artifacts/ subdirectory, containing the agent's artifact repository (AgentLocation.getArtifactRepositoryURL). Also known as the download cache.
- touchpoints/ subdirectory, containing:
- director/ subdirectory, containing director's rollback repository
- org.eclipse.equinox.p2.touchpoint.eclipse subdirectory
- bundlepool/ subdirectory
- plugins/ subdirectory containing the bundle pool.
- bundlepool/ subdirectory