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

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.

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

*ecf.provider.filetransfer.httpclient

*ecf.provider.filetransfer.httpclient.ssl

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. 


Saminda


[1] http://www.eclipse.org/external/rt/ecf/integration/v20090520-0800/repo/plugins/

[2] http://download.eclipse.org/equinox/drops/I20090522-1710/equinox-p2-agent-I20090522-1710-linux.tar.gz

[3] http://download.eclipse.org/equinox/drops/I20090522-1710/equinox.p2.installer-I20090522-1710-linux.gtk.x86.tar.gz

--------------------------------------------------------------------------------------------------------------------------------------------

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.

HTH

PaScaL

<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.exemplarysetup"/>
<plugin id="org.eclipse.equinox.p2.garbagecollector"/>
<plugin id="org.eclipse.equinox.p2.jarprocessor"/>
<plugin id="org.eclipse.equinox.p2.metadata"/>
<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"/>

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