Questions tagged [p2]

p2 is the platform provisioning system used by the eclipse IDE and the eclipse RCP framework. It is an artifact and metadata repository and allows some kind of dependency resolution. it supports mirroring and has an extensive set of ant task for managing repositories and publishing artifacts. The eclipse IDE uses p2 to provision updates and install new plugins.

The Eclipse platform provides an installation and update mechanism called Eclipse p2 (short: p2). This update mechanism allows you to update Eclipse applications and to install new functionalities.

The update and installation of functionalities with p2 is based on feature projects (short: features) projects. It is possible to update complete products or individual features. In the terminology of p2 these features are installable units.

Related Links:

412 questions
0
votes
2 answers

How to uninstall eclipse core components?

I will be glad, if my eclipse didn't have the mylyn and the cvs modules. I don't want them, I want them to get out. But the eclipse package management doesn't let me their removal. I tried already to remove them from the packages & features…
peterh
  • 11,875
  • 18
  • 85
  • 108
0
votes
1 answer

Where I can find p2 repository containing OSGI CXF bundle for build with tycho?

Where I can find p2 repository containing OSGI CXF bundle for build with tycho? All I can find is how to get the CXF with maven dependencies.
kofucii
  • 7,393
  • 12
  • 51
  • 79
0
votes
0 answers

changing UI and text of Updates available popup

I working on eclipse rcp project where I need to add updates available popup to my eclipse rcp application. I could show the popup, but now my question is can I change UI and text of that popup. I want the look of UI in my own desired. Is it…
0
votes
1 answer

java.lang.LinkageError after Eclipse P2 Update

We're using Tycho to build our features/bundles and using org.eclipse.equinox.p2.director to update the product. I've noticed that the update causes a java.lang.LinkageError when the product is running during the update. I guess the problem is that…
xoned
  • 2,701
  • 2
  • 31
  • 43
0
votes
1 answer

How to wait the p2 profile gets completed

We are using p2 to update our RCP application, and this worked so far quite well until today I realized in some case the P2 IProfile was emty (not null but empty) and always of course return emty result queries. This happend when launching the…
SeB.Fr
  • 1,246
  • 1
  • 14
  • 16
0
votes
1 answer

Adding Psychopath Xpath2 processor as a dependency in a maven project

I want to use Psychopath Xpath processor in a project(IDE :Intellij Idea) which uses Apache maven for building which is not available at maven central repo. Psychopath jar is available here . And also I know the fact that the psychopath XPath2…
Asiri Liyana Arachchi
  • 2,663
  • 5
  • 24
  • 43
0
votes
1 answer

Partly mirrored p2 repository does not contain installable units - "There are no items available" in Eclipse

I want to mirror some features from the latest Orbit update site. I use the configuraiton below. (This configuration is taken it from the effective pom, to make sure that this is really the configuration I used.)
Gábor Lipták
  • 9,646
  • 2
  • 59
  • 113
0
votes
1 answer

Update RCP over Windows Service

I want to update my RCP with a Windows Service (.jar) who will check an UpdateServer for newer version. This would look like this: Afterall I need a few hints for this steps: Get RCP version in Update.jar Get Installation path from RCP in…
Johnny000
  • 2,058
  • 5
  • 30
  • 59
0
votes
1 answer

UI not listing contents of Eclipse software site

When trying to add a Software Site (p2 plugin repository - either one generated by p2 Publisher or Nexus with p2 support) to a target definition via the "Target Definition Wizard" there seem to be "no items available" preventing the site to…
jpullmann
  • 111
  • 1
  • 3
0
votes
1 answer

How to set the maximum threads of a p2 SimpleArtifactRepository

I am working on a tool to perform a p2 installation similar to the p2 DirectorApplication. I am having problems, when the URI of the artifact repository points to a site location using the http protocol. The download of the artifacts stops running…
christoph.keimel
  • 1,240
  • 10
  • 24
0
votes
1 answer

How to control start level of bundles deployed from pickup directory?

Is it possible to control the start level of bundles dropped in the pickup folder? Is there a way for a bundle to ask that it not be activated until a certain other service becomes available? We have many bundles with interdependencies managed…
Miserable Variable
  • 28,432
  • 15
  • 72
  • 133
0
votes
1 answer

how to tell yoxos that my update site has changed

I have a private yoxos profile with the yoxos launcher (5.6 CI20130625-0201) have added a private update pages. For some reasons yoxos does not load the newest version form the update site. It alwyas uses an old version. However, if I enable the…
Michael_Scharf
  • 33,154
  • 22
  • 74
  • 95
0
votes
2 answers

How to automatically update OSGi framework bundles list at runtime?

Here is the context: I have 2 osgi products running, one which is the main software (lets call it 'software') and the other which manages updates/installs/uninstalls of the first one, using p2. (lets call the second one 'updater') I managed to make…
Kevin
  • 1
  • 1
0
votes
1 answer

How to force p2 to set singleton=false in bundle iu definition

I'd like to force p2 so set singleton='false' to some of my bundle that are defined as singleton in their manifest. I know that multiple singleton plugins cannot be activated at the same time in an Eclipse runtime, but I would like them to be…
SeB.Fr
  • 1,246
  • 1
  • 14
  • 16
0
votes
1 answer

p2 repository only with feature content and no dependencies

I need to create p2 repositories to add extra software in my application. for instance I want to externalize all i18n bundle, so I have a set of features with only i18n fragments. The way I do that is from a complete p2 repository that was build by…
SeB.Fr
  • 1,246
  • 1
  • 14
  • 16