p2

P2 repository for org.eclipse.test bundle

Where can I find a p2 repository containing org.eclipse.test? ...

generating p2 site from feature fails with unresolved import package javax.swing.table

Hi, I would like to generate an Eclipse p2 Update Site from a Feature. The Feature contains several 3d party plugins. The export fails with a "Problem during export" org.eclipse.core.runtime.CoreException: Bundle com.springsource.org.dom4j_0.0.0 failed to resolve.: Unsatisfied import package javax.swing.table_0.0.0. Unsatisfied import ...

In Equinox Is it possible to to mark an OSGi bundle as started from its containing feature's p2.inf?

I have an Eclipse feature which includes several bundles. I want to tell p2 to mark one of those bundles as started when the feature is installed. This is possible using the bundles own META-INF/p2.inf like so, instructions.configure = markStarted(started: true) but I want to do this at the feature-level rather than the bundle-level (...

In Equinox is it possible to for one feature/bundle to obsolete another?

I have a Eclipse-based project (the Scala IDE for Eclipse) which has recently moved to a new home. I want to change the various feature ids, Bundle-SymbolicNames etc. to reflect the move (ie. so that they all have an org.scala-ide prefix) and restart the version numbering (previously it was tied to the corresponding Scala compiler releas...

Automated building equinox PDE : executable doesn't work

Hello everybody, I created an OSGi project in which one I've 2 projects : - one plugin project : that contains my source files, my product configuration that uses my feature project and the feature org.eclipse.equinox.p2.ui.user. It means that my program is able to install new software or to update the program. - one feature project tha...

usage of maven tycho-p2-plugin with SWT

how do I build a swt application using the eclipse p2 repository and the maven tycho-p2-plugin? ...

Why does Eclipse P2 download files from eclipse.org every time?

When installing or updating plug-ins, the update system of Eclipse always fetch some jar/xml files from eclipse.org, this annoying behavior slows down the update process. Is there any way to disable it? ...

OSGi equinox : Bundle stay always in the state "RESOLVED"

Hello, I've created one main bundle in wich one I've installed the equinox p2. Then I export it to obtain an executable. My executable works correctly. I've also created one other Bundle that interact witt the first one. In eclipse, if I create a product configuration with this 2 bundles and run the product, everything works. After tha...

Can p2 be used to manage customisable, roaming profiles for Eclipse RCP applications?

I have an Eclipse RCP application that I'd like to make available to end users using the p2 provisioning platform. The requirements for the provisioning of the application are as follows: Users need to be able to install additional features in order to customise their individual application. Users move between workstations, so their ...

P2 Update of RCP based application failes

I trying to update an Eclipse-RCP-3.5 based application by an P2 update-site. Application contains two features. Product is build by Eclipse Buckminster. Creation of the P2 update site is part of the product build. When start the update by Menu: Update -> Check for Updates a messages box is shown: There is nothing to update. When i tr...

Configure a p2 update repository programmatically

There is an article in the Eclipse wiki how to configure user's p2 default repositories of an RCP application by adding a static conf file to your product: Equinox/p2/Adding Self-Update to an RCP Application - Configuring the user's default repositories I want to do the same programmatically in a Java class when the user changes some ...

How to create a local P2 respository and add it to eclipse?

I have a few OSGI bundles that I would like to store in a local P2 repository. I have followed this guide: https://docs.sonatype.org/display/TYCHO/How+to+make+existing+OSGi+bundles+consumable+by+Tycho to use eclipsec.exe to convert the folder with bundles into a P2 repository. The resulting structure is like this: c:\test\repo c:\tes...

Eclipse RCP: P2 Update feature fails

I have a prodcut that include 1 feature (application.feature) that contains one plugin with application this feature has, in included feature, another one (framework.feature) if I update framework.feature and one of its plugin I got this error (I use "install new software" to get the correct error, because if I just try to update I go ...

Eclipse BIRT 2.6.0 P2 Update site?

I just updated my eclipse to the new Helios SR1 version and now my reporting version is 2.6.1. But I need to use version 2.6.0 to make an older application work. Is it possible to add an eclipse helios update site that contains the 2.6.0 version without installing the "old" version of eclipse? ...

Eclipse RCP p2 update not working

I have a personal Eclipse RCP product (com.example.product) based on one personal feature (com.example.feature) which is composed of one personal plugin (com.example.plugin) and a bunch of others from Eclipse Helios (3.6). I want the app to check for updates and update itself if necessary from a p2 site. I want it to be headless, ie the ...

Error during p2 eclipse-rcp app headless update

I'm trying to do a headless update at startup for my product com.example.product, which contains com.,example.feature which contains com.example.plugin. Here's the error I'm getting in my logs, and the code generating it follows that. It seems to be picking up the update site and the IUs ok, but then can't find the artifact. (P2Util.jav...