Problem mit Product/Feature bei RCP

klaus1985

Mitglied
EDIT: Bitte ins Forum "Swing, Java2D/3D, SWT, JFace" verschieben. Danke!

Hallo,
ich hab meine eigene Anwendung zusammengebastelt und würde jetzt gerne per Feature ein automatisches Update einbauen. Allerdings hänge ich jetzt schon nach dem Exportieren des Products. Ich bin nach dieser Anleitung vorgangen: http://www.ralfebert.de/blog/eclipsercp/p2_updates_tutorial/
Statt dem RCP Mail Template habe ich halt mein Plugin verwendet, ab Schritt 3 dann alles so gemacht wie beschrieben. Das Mail Example wie dort beschrieben klappt wunderbar bei mir.
Bei Schritt 7 hänge ich das erste Mal mit folgendem Fehler:
!SESSION 2010-04-15 02:00:24.501 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_17
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=de_DE
Framework arguments: -product PMT.product
Command-line arguments: -product PMT.product -data /Users/klaus/Documents/workspace/../runtime-conf.product -dev file:/Users/klaus/Documents/workspace/.metadata/.plugins/org.eclipse.pde.core/conf.product/dev.properties -os macosx -ws cocoa -arch x86

!ENTRY org.eclipse.equinox.app 0 0 2010-04-15 02:00:25.402
!MESSAGE Product PMT.product could not be found.

!ENTRY org.eclipse.osgi 2 0 2010-04-15 02:00:25.419
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-04-15 02:00:25.419
!MESSAGE Bundle reference:file:/Users/klaus/Documents/workspace/PMT/ was not resolved.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.419
!MESSAGE Missing required bundle org.eclipse.birt.report.model_2.5.2.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.419
!MESSAGE Missing required bundle org.eclipse.birt.report.viewer_2.5.2.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.419
!MESSAGE Missing required bundle org.apache.commons.codec_1.3.0.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.419
!MESSAGE Missing required bundle org.apache.derby.core_10.5.1.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.419
!MESSAGE Missing required bundle org.eclipse.birt.report.data.oda.jdbc_2.5.2.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.419
!MESSAGE Missing required bundle org.eclipse.birt.core_2.5.2.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.419
!MESSAGE Missing required bundle org.eclipse.birt.report.engine.script.javascript_2.5.2.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.419
!MESSAGE Missing required bundle com.lowagie.itext_1.5.4.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.419
!MESSAGE Missing required bundle org.eclipse.birt.report.engine_2.5.2.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.419
!MESSAGE Missing required bundle org.apache.commons.codec_1.3.0.

!ENTRY org.eclipse.osgi 2 0 2010-04-15 02:00:25.421
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-04-15 02:00:25.421
!MESSAGE Bundle PMT_0.1.2 [2] was not resolved.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.421
!MESSAGE Missing required bundle org.eclipse.birt.core_2.5.2.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.421
!MESSAGE Missing required bundle org.eclipse.birt.report.engine_2.5.2.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.421
!MESSAGE Missing required bundle org.eclipse.birt.report.model_2.5.2.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.421
!MESSAGE Missing required bundle org.eclipse.birt.report.viewer_2.5.2.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.421
!MESSAGE Missing required bundle org.apache.derby.core_10.5.1.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.421
!MESSAGE Missing required bundle org.apache.commons.codec_1.3.0.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.421
!MESSAGE Missing required bundle org.apache.commons.codec_1.3.0.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.421
!MESSAGE Missing required bundle com.lowagie.itext_1.5.4.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.421
!MESSAGE Missing required bundle org.eclipse.birt.report.engine.script.javascript_2.5.2.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.421
!MESSAGE Missing required bundle org.eclipse.birt.report.data.oda.jdbc_2.5.2.

!ENTRY org.eclipse.osgi 4 0 2010-04-15 02:00:25.427
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:236)
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:368)
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:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)

!ENTRY org.eclipse.osgi 2 0 2010-04-15 02:00:25.431
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-04-15 02:00:25.431
!MESSAGE Bundle reference:file:/Users/klaus/Documents/workspace/PMT/ was not resolved.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.431
!MESSAGE Missing required bundle org.eclipse.birt.report.model_2.5.2.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.432
!MESSAGE Missing required bundle org.eclipse.birt.report.viewer_2.5.2.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.432
!MESSAGE Missing required bundle org.apache.commons.codec_1.3.0.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.432
!MESSAGE Missing required bundle org.apache.derby.core_10.5.1.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.432
!MESSAGE Missing required bundle org.eclipse.birt.report.data.oda.jdbc_2.5.2.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.432
!MESSAGE Missing required bundle org.eclipse.birt.core_2.5.2.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.432
!MESSAGE Missing required bundle org.eclipse.birt.report.engine.script.javascript_2.5.2.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.432
!MESSAGE Missing required bundle com.lowagie.itext_1.5.4.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.432
!MESSAGE Missing required bundle org.eclipse.birt.report.engine_2.5.2.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.432
!MESSAGE Missing required bundle org.apache.commons.codec_1.3.0.

!ENTRY org.eclipse.osgi 2 0 2010-04-15 02:00:25.432
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-04-15 02:00:25.432
!MESSAGE Bundle PMT_0.1.2 [2] was not resolved.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.433
!MESSAGE Missing required bundle org.eclipse.birt.core_2.5.2.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.433
!MESSAGE Missing required bundle org.eclipse.birt.report.engine_2.5.2.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.433
!MESSAGE Missing required bundle org.eclipse.birt.report.model_2.5.2.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.433
!MESSAGE Missing required bundle org.eclipse.birt.report.viewer_2.5.2.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.433
!MESSAGE Missing required bundle org.apache.derby.core_10.5.1.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.433
!MESSAGE Missing required bundle org.apache.commons.codec_1.3.0.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.433
!MESSAGE Missing required bundle org.apache.commons.codec_1.3.0.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.433
!MESSAGE Missing required bundle com.lowagie.itext_1.5.4.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.433
!MESSAGE Missing required bundle org.eclipse.birt.report.engine.script.javascript_2.5.2.
!SUBENTRY 2 PMT 2 0 2010-04-15 02:00:25.433
!MESSAGE Missing required bundle org.eclipse.birt.report.data.oda.jdbc_2.5.2.
Das läss sich aber beheben, wenn ich unter "Run -> Run Configurations... -> Plug-ins" auf "Add Required Plug-ins" drücke. Dass muss ich aber jedes Mal machen bevor ich auf "Launch an eclipse application" drücke, sonst kommt wieder der Fehler. Also das wäre das erste Problem...

Beim Exportieren (Schritt 9) tritt dann folgender Fehler auf:
Cannot complete the install because one or more required items could not be found.
Software being installed: PMT 0.1.1 (pmt 0.1.1)
Missing requirement: PMT 0.1.2 requires 'bundle org.eclipse.birt.core 2.5.2' but it could not be found
Cannot satisfy dependency:
From: PMTFeature 1.0.0.201004150205 (PMTFeature.feature.group 1.0.0.201004150205)
To: PMT [0.1.2]
Cannot satisfy dependency:
From: PMT 0.1.1 (pmt 0.1.1)
To: PMTFeature.feature.group [1.0.0.201004150205]
PMT 0.1.1 ist das product, PMT 0.1.2 das Plugin. Im Plugin ist unter Dependencies "org.eclipse.birt.core;bundle-version="2.5.2"" angegeben.
Im Feature selbst gibt's unter Dependencies einen Button "Compute", den wenn ich drücke bekomme ich folgendes beim Exportieren:
Cannot complete the install because one or more required items could not be found.
Software being installed: PMT 0.1.1 (pmt 0.1.1)
Missing requirement: PMTFeature 1.0.0.201004150215 (PMTFeature.feature.group 1.0.0.201004150215) requires 'org.eclipse.birt.core 2.5.2' but it could not be found
Cannot satisfy dependency:
From: PMT 0.1.1 (pmt 0.1.1)
To: PMTFeature.feature.group [1.0.0.201004150215]
Er scheint also org.eclipse.birt.core nirgends zu finden, zeigt es aber an wenn man es als Dependencie hinzufügen möchte.

Ich häng schon länger an dem Problem, wäre echt super wenn mir jemand helfen kann. Gerne auch per ICQ, Teamviewer oder ähnliches.
 
Zuletzt bearbeitet:

Neue Beiträge

Zurück