[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Re: [equinox-dev] Required bundles for P2 in a server-side equinoxapplication

Thanks for the reply. I will drop the update.configurator, and use the simpleconfigurator instead and see the results.

Our aim is to connect p2 as the provisioning platform in WSO2 Carbon. We want the p2 commands to be available on the osgi console level. You must have noticed Sameera's mail regarding the same thing. My objective is to determine the minimum set of bundles required to minimize the size of the distributions.

Thank you,

On Tue, May 26, 2009 at 7:31 AM, Pascal Rapicault <Pascal_Rapicault@xxxxxxxxxx> wrote:

The list originally provided was extracted from the product definition of a p2 based product (I believe this was the agent).
I don't know if this list is complete but I know for sure it does contain bundles that are not necessary for a particular environment (like the macos security fragment)/
When you say that you could not find the bundles, where did you look for them? If you are running a recent SDK and you are setting the running environment as your target platform (Preferences > PDE > Target platform), then they should all be here.

I notice that you mention update.configurator, but this bundle is "not compatible" with p2 in that it is a piece that is replaced in p2 by simpleconfigurator and it usually is not a desirable piece to include in a p2 controlled environment.

If you would want to shed some lights on what you are doing, and are trying to achieve, then I can come up with more detailed information.



Inactive hide details for Saminda Wijeratne ---05/25/2009 12:41:26 AM---Hi I've also being wanting to run p2 in console mode wiSaminda Wijeratne ---05/25/2009 12:41:26 AM---Hi I've also being wanting to run p2 in console mode with no ui. And i want it to be run on my own osgi equinox environment.


Saminda Wijeratne <samindaw@xxxxxxxx>




05/25/2009 12:41 AM


[p2-dev] Re: [equinox-dev] Required bundles for P2 in a server-side equinoxapplication


I've also being wanting to run p2 in console mode with no ui. And i want it to be run on my own osgi equinox environment.

i've added the said bundles to an osgi environment and tried to invoke a p2 commnad (provlar) and got a "java.lang.NoClassDefFoundError: org/xml/sax/helpers/DefaultHandler" exception. This class/package is provided from the system bundle to the environment.

I'm running on linux. I could not locate the "org.eclipse.equinox.security.macosx" bundle i guess it is not required.

some of the bundles i could not find. for example the


      bundles were no where to be found but i downloaded them from ecf integration repo in [1]

      The plugin org.eclipse.equinox.p2.repository_1.0.0.v20090520-1905.jar i got from the latest p2-agent at [2]

      I got the org.eclipse.core.runtime.compatibility.registry*.jar bundle from the eclipse 3.4 plugins folder (it was in a exploded form)

I'm loading all the classes in the plugins folder using the org.eclipse.update.configurator bundle (specified in the config.ini) Any idea where i'm going wrong?

I also downloaded a p2installer from [3] which seems to be a p2 enabled. The bundles in it does not seem to have all the bundles specified in the below list. for example the p2.console is missing. 



I've just added a repo and listed its content using the console commands.
I think that you are missing some bundles. Here is my list.
It does not include support for legacy update site, who needs it anyway :) and therefore it does not include the publisher nor the generator.



<plugin id="org.apache.commons.codec"/>
<plugin id="org.apache.commons.httpclient"/>
<plugin id="org.apache.commons.logging"/>
<plugin id="org.eclipse.core.contenttype"/>
<plugin id="org.eclipse.core.jobs"/>
<plugin id="org.eclipse.core.runtime"/>
<plugin id="org.eclipse.core.runtime.compatibility.auth"/>
<plugin id="org.eclipse.core.runtime.compatibility.registry" fragment="true"/>
<plugin id="org.eclipse.core.variables"/>
<plugin id="org.eclipse.ecf"/>
<plugin id="org.eclipse.ecf.filetransfer"/>
<plugin id="org.eclipse.ecf.identity"/>
<plugin id="org.eclipse.ecf.provider.filetransfer"/>
<plugin id="org.eclipse.ecf.provider.filetransfer.httpclient"/>
<plugin id="org.eclipse.ecf.provider.filetransfer.httpclient.ssl" fragment="true"/>
<plugin id="org.eclipse.ecf.provider.filetransfer.ssl" fragment="true"/>
<plugin id="org.eclipse.ecf.ssl" fragment="true"/>
<plugin id="org.eclipse.equinox.app"/>
<plugin id="org.eclipse.equinox.common"/>
<plugin id="org.eclipse.equinox.frameworkadmin"/>
<plugin id="org.eclipse.equinox.frameworkadmin.equinox"/>
<plugin id="org.eclipse.equinox.p2.artifact.repository"/>
<plugin id="org.eclipse.equinox.p2.console"/>
<plugin id="org.eclipse.equinox.p2.core"/>
<plugin id="org.eclipse.equinox.p2.director"/>
<plugin id="org.eclipse.equinox.p2.director.app"/>
<plugin id="org.eclipse.equinox.p2.engine"/>
<plugin id="org.eclipse.equinox.p2.
<plugin id="org.eclipse.equinox.p2.
<plugin id="org.eclipse.equinox.p2.
<plugin id="org.eclipse.equinox.p2.
<plugin id="org.eclipse.equinox.p2.metadata.repository"/>
<plugin id="org.eclipse.equinox.p2.repository"/>
<plugin id="org.eclipse.equinox.p2.touchpoint.eclipse"/>
<plugin id="org.eclipse.equinox.p2.touchpoint.natives"/>
<plugin id="org.eclipse.equinox.preferences"/>
<plugin id="org.eclipse.equinox.registry"/>
<plugin id="org.eclipse.equinox.security"/>
<plugin id="org.eclipse.equinox.security.macosx" fragment="true"/>
<plugin id="org.eclipse.equinox.simpleconfigurator"/>
<plugin id="org.eclipse.equinox.simpleconfigurator.manipulator"/>
<plugin id="org.eclipse.osgi"/>
<plugin id="org.eclipse.osgi.services"/>
<plugin id="org.sat4j.core"/>
<plugin id="org.sat4j.pb"/>

J B ---04/15/2009 08:30:06 PM---I was able to get the P2 Console working. I needed to start the exemplarysetup service.

p2-dev mailing list

p2-dev mailing list

GIF image

GIF image