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
1 answer

e(fx)clipse - Tutorial2 - step 18 - can't generate update site

Tutorial2 – e(fx)clipse - step 18 - Problem occurred I am following http://www.efxclipse.org/trac/wiki/Tutorial2 At step 18: generate update site with button )Build All( 18 : The result of the operation should look similar to the screenshot …
Paul Verest
  • 60,022
  • 51
  • 208
  • 332
0
votes
1 answer

RCP P2 Update for base productin

I am developing an RCP P2 update. I created RCP Mail Template application. (com.project.app.mail) I added product configuration file MailProduct.product I added org.eclipse.equinox.p2.ui.sdk as a dependency in the dependency tab if my plugin…
Priyank Thakkar
  • 4,752
  • 19
  • 57
  • 93
0
votes
1 answer

P2.inf: refer update sites based on location

I have developed an RCP application and I am providing p2 update functionality. In my p2.inf i am providing the url for update site. I don't want user to add any site so I have disabled an option to add a site. My p2.inf looks…
Priyank Thakkar
  • 4,752
  • 19
  • 57
  • 93
0
votes
1 answer

Type org.eclipse.equinox.p2.query.IQuery not accessible

I was working Eclipse RCP application and I was configuring p2 updates for it. I came across this example. package org.eclipse.equinox.p2.examples.rcp.cloud.p2; import org.eclipse.equinox.p2.engine.query.UserVisibleRootQuery; import…
Priyank Thakkar
  • 4,752
  • 19
  • 57
  • 93
0
votes
1 answer

P2 repository for flyway

I am working with an eclipse product where we use a combination of a maven/tycho build system and OSGI: Equinox to build our product. I was wondering if there was a dedicated p2 repository for the flyway-core jar file?
0
votes
1 answer

Updating features which depend on the same library as other features - p2 error "Only one of the following can be installed at once"

I have the following structure in my project: Product "P" is based on Feature "FA" which is based on Plugin "PA" which depends on Libray-Plugin "PL". I can export the whole product and everything works fine. Now I want to install different modules…
0
votes
1 answer

Calling pre/post script after Eclipse p2 upgrade?

Let's say, I have an application (a bunch of features) installed in Eclipse. Now, I have a new version of the p2 repository for that application and ready for the same Eclipse to be upgraded for the new version of that application. Is there any way,…
0
votes
2 answers

How do I get a plugin with platform specific code to deploy to the correct platform using an eclipse p2 repository?

I have an Eclipse Feature that I'm building that contains a few plugins. One of the plugins uses the import package statement to declare a dependency on another plugin. The other plugin has platform specific code and exists in another feature that…
twindham
  • 930
  • 9
  • 31
0
votes
1 answer

How to advise p2 to add a repository during feature installation in case a dependency of the feature is not yet installed?

I am designing an Eclipse feature that contains bundles that require dependencies that may be present in the installation target, but this is not necessarily the case. I would like to avoid the installation of unnecessary IUs. I would like to know…
Jörn Guy Süß
  • 1,408
  • 11
  • 18
0
votes
1 answer

How to install m2e-wtp using headless p2

I have this problem I've been struggling with for a while. I want to install Eclipse plugins automatically during an automated Eclipse installation process. So far I've been able to install the following over fresh…
Matthias Hryniszak
  • 3,099
  • 3
  • 36
  • 51
0
votes
2 answers

How to build a p2 site for the Eclipse delta pack?

I am trying to build my own p2 update site for the Eclipse delta site (since it is not available as p2 update site). What I did: # Get the delta pack from Eclipse web site # wget…
Loic O
  • 125
  • 2
  • 6
0
votes
1 answer

wso2 unable to install features for I/O Error while copying

I'm trying to install new features on wso2 Carbon version 4.0.1 I'm on a VMWare Virtual Machine running CentOS 6.3 I followed these steps Download of the binary version of wso2carbon-4.0.1 (wso2carbon-4.0.1) extracted under path /opt/wso2/ went…
selganor
  • 79
  • 11
0
votes
1 answer

How to add a dependency to an Eclipse bundle in a Tycho build

I want to include org.eclipse.uml2.uml_4.0.0.v20120604-0919.jar in a Maven module. I've set up the p2 repository juno p2 http://download.eclipse.org/releases/juno and…
SpaceTrucker
  • 13,377
  • 6
  • 60
  • 99
0
votes
1 answer

Running p2.process.artifacts in Jenkins

I read the SO post Running P2 Ant tasks outside Eclipse, which was a great help. I am trying to call p2.process.artifacts, however I am not sure what arguments should I pass to java task call. What should value for application argument be and how…
positron
  • 3,643
  • 3
  • 22
  • 26
0
votes
3 answers

Is there any major change done in p2-dropins mechanism in Eclipse 3.8?

Is there any major change in p2 mechanism in Eclipse 3.8? I tried to install Eclipse 3.8 plugins via p2 dropins mechanism but its not working at all. It is not able to resolve the plugins. Plug-in perspective is also missing. Also the bundles.info…
Anand
  • 2,239
  • 4
  • 32
  • 48
1 2 3
27
28