[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [p2-dev] Problem running P2 director application
|
The p2 director != p2 metadata generator. They perform two different
functions. Director is for installing software; generator is for turning
an update site into a p2 repo (with artifacts.jar and content.jar).
See:
http://wiki.eclipse.org/Equinox_p2_Metadata_Generator
http://wiki.eclipse.org/Equinox_p2_director_application
If you want examples of how to use the generator beyond what's in the
wiki, let me know - I have several, including a script to generate
site.xml so your features are in a category.
Nick
Afkham Azeez wrote:
Hi Folks,
I tried to run the director app as outlined in
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/p2_metadata_generator.html
However, I got the following error
------------------------------------------------------
!SESSION 2009-04-27 17:08:58.378 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0_08
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Framework arguments: -application
org.eclipse.equinox.p2.director.app.application -metadataRepository
http://download.eclipse.org/releases/ganymede/ -artifactRepository
http://download.eclipse.org/releases/ganymede/ -installIU
org.eclipse.cdt.feature.group -version 5.0.2.200902130801
Command-line arguments: -os linux -ws gtk -arch x86 -application
org.eclipse.equinox.p2.director.app.application -metadataRepository
http://download.eclipse.org/releases/ganymede/ -artifactRepository
http://download.eclipse.org/releases/ganymede/ -installIU
org.eclipse.cdt.feature.group -version 5.0.2.200902130801
!ENTRY org.eclipse.osgi 4 0 2009-04-27 17:08:59.251
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application
"org.eclipse.equinox.p2.director.app.application" could not be found
in the registry. The applications available are:
org.eclipse.equinox.app.error,
org.eclipse.equinox.p2.artifact.repository.mirrorApplication,
org.eclipse.equinox.p2.garbagecollector.application,
org.eclipse.equinox.p2.metadata.generator.EclipseGenerator,
org.eclipse.equinox.p2.metadata.repository.mirrorApplication,
org.eclipse.equinox.p2.reconciler.application,
org.eclipse.equinox.p2.ui.admin.rcp.application.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:242)
at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
--------------------------------------------------------
It seems that the director app cannot be found in my P2 installation.
I'm using P2 equinox-p2-agent-3.5M2-linux.tar.gz.
Do I have to separately download the director app?
--
Nick Boldt :: http://wiki.eclipse.org/User:Nickb
Release Engineer :: Eclipse Modeling & Dash Athena