RCP RCP Projekt deployen

lam_tr

Top Contributor
Hallo zusammen,

ich bin grad dabei ein Feature-Projekt für die RCP Projekt (Projekt-Configuration) zu erstellen.
Hab die Produkt-Configuration nach "feature" anstatt "plug-in" eingestellt unt unter Dependencies habe ich das Feature-Projekt ausgewählt.
In dem Feature-Projekt habe ich unter Dependency meine Plugins hinzugefügt.

Und dann beim Ausführen meines Projektes über die Produkt-Configuration oder beim Starten nach dem Deployen bekomme ich diese Fehlermeldung, warum?

Java:
!SESSION Wed Aug 25 11:29:22 CEST 2010 -----------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2010-08-25 11:29:22.492
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:616)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1383)

Bitte um Hilfe.

gruss lam
 

lam_tr

Top Contributor
hi SirWayne,

also wenn du den RCP-Feature von mir meinst in die Product-Configuration, ja die habe ich schon eingebunden. Geht trotzdem nicht.

Gruss lam
 

Sonecc

Gesperrter Benutzer
Dein Feature muss alle Eclipse Dependencies einbinden. In deinem Fall fehlt wohl das org.eclipse.core.runtime Plugin
 

lam_tr

Top Contributor
Hi Sonecc,

soll es heißen dass ich sie alle händisch reinmachen muss?

woher weiss ich denn welche ich brauche?
es sind doch ca 30-50 interne Plugins.
Normalerweise kann man bei der Product-Configuration das automatisch
machen lassen, geht es nicht bei dem feature?

Gruss lam
 

lam_tr

Top Contributor
Hi Sonecc,
das habe ich schon gemacht, komischerweise sind da nur 10 internen Plugins, und laufen tut es auch nicht, richtig seltsam :-(
 
G

Gast2

Gast
In deinem Feature Project musst du alle plugins und feature reinmachen die du brauchst...
Da machst bei Plugins dein(e) plugin(s) rein und in Included Feature das org.eclipse.rcp feature...
 

lam_tr

Top Contributor
hi SirWayne,

bin mir nicht ganz sicher aber komischerweise bekomme ich jetzt noch mehr exceptions :)

Java:
!ENTRY org.eclipse.equinox.app 0 0 2010-08-25 15:29:20.230
!MESSAGE Product meinplugin.product could not be found.

!ENTRY org.eclipse.osgi 2 0 2010-08-25 15:29:20.308
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-08-25 15:29:20.308
!MESSAGE Bundle reference:file:/C:/Dokumente und Einstellungen/meinplugin/ was not resolved.
!SUBENTRY 2 meinplugin.rcp 2 0 2010-08-25 15:29:20.308
!MESSAGE Missing required bundle org.eclipse.ui.intro_0.0.0.
!SUBENTRY 2 meinplugin.rcp 2 0 2010-08-25 15:29:20.308
!MESSAGE Missing imported package org.eclipse.update.configuration_0.0.0.
!SUBENTRY 2 meinplugin.rcp 2 0 2010-08-25 15:29:20.308
!MESSAGE Missing required bundle org.eclipse.ui.console_3.5.0.
!SUBENTRY 2 meinplugin.rcp 2 0 2010-08-25 15:29:20.308
!MESSAGE Missing required bundle org.eclipse.update.core_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-08-25 15:29:20.308
!MESSAGE Bundle reference:file:/C:/Dokumente und Einstellungen/meinplugin/org.eclipse.jface.text_3.6.0.v20100526-0800.jar was not resolved.
!SUBENTRY 2 org.eclipse.jface.text 2 0 2010-08-25 15:29:20.308
!MESSAGE Missing required bundle org.eclipse.text_[3.5.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-08-25 15:29:20.308
!MESSAGE Bundle reference:file:/C:/Dokumente und Einstellungen/meinplugin/org.eclipse.ui.editors_3.6.0.v20100520-0800.jar was not resolved.
!SUBENTRY 2 org.eclipse.ui.editors 2 0 2010-08-25 15:29:20.308
!MESSAGE Missing required bundle org.eclipse.core.filebuffers_[3.5.0,4.0.0).
!SUBENTRY 2 org.eclipse.ui.editors 2 0 2010-08-25 15:29:20.308
!MESSAGE Missing required bundle org.eclipse.core.resources_[3.5.0,4.0.0).
!SUBENTRY 2 org.eclipse.ui.editors 2 0 2010-08-25 15:29:20.308
!MESSAGE Missing required bundle org.eclipse.core.filesystem_[1.2.0,2.0.0).
!SUBENTRY 2 org.eclipse.ui.editors 2 0 2010-08-25 15:29:20.308
!MESSAGE Missing required bundle org.eclipse.ui.workbench.texteditor_[3.6.0,4.0.0).
!SUBENTRY 2 org.eclipse.ui.editors 2 0 2010-08-25 15:29:20.308
!MESSAGE Missing required bundle org.eclipse.ui.ide_[3.5.0,4.0.0).

!ENTRY org.eclipse.osgi 2 0 2010-08-25 15:29:20.323
!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-08-25 15:29:20.323
!MESSAGE Bundle meinplugin.rcp_1.0.0.qualifier [286] was not resolved.
!SUBENTRY 2 meinplugin.rcp 2 0 2010-08-25 15:29:20.323
!MESSAGE Missing required bundle org.eclipse.ui.console_3.5.0.
!SUBENTRY 2 meinplugin.rcp 2 0 2010-08-25 15:29:20.323
!MESSAGE Missing required bundle org.eclipse.ui.intro_0.0.0.
!SUBENTRY 2 meinplugin.rcp 2 0 2010-08-25 15:29:20.323
!MESSAGE Missing required bundle meinplugin.rcp.fahrwasser.editor_1.0.0.
!SUBENTRY 2 meinplugin.rcp 2 0 2010-08-25 15:29:20.323
!MESSAGE Missing required bundle meinplugin.rcp.restriktion.editor_1.0.0.
!SUBENTRY 2 meinplugin.rcp 2 0 2010-08-25 15:29:20.323
!MESSAGE Missing required bundle meinplugin.rcp.standard.editor_1.0.0.
!SUBENTRY 2 meinplugin.rcp 2 0 2010-08-25 15:29:20.323
!MESSAGE Missing required bundle meinplugin.rcp.steuerung.editor_1.0.0.
!SUBENTRY 2 meinplugin.rcp 2 0 2010-08-25 15:29:20.323
!MESSAGE Missing required bundle meinplugin.rcp.widerstand.editor_1.0.0.
!SUBENTRY 2 meinplugin.rcp 2 0 2010-08-25 15:29:20.323
!MESSAGE Missing required bundle org.eclipse.update.core_0.0.0.
!SUBENTRY 2 meinplugin.rcp 2 0 2010-08-25 15:29:20.323
!MESSAGE Missing imported package org.eclipse.update.configuration_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-08-25 15:29:20.323
!MESSAGE Bundle meinplugin.rcp.fahrwasser.editor_1.0.0.qualifier [287] was not resolved.
!SUBENTRY 2 meinplugin.rcp.fahrwasser.editor 2 0 2010-08-25 15:29:20.323
!MESSAGE Missing required bundle org.eclipse.jface.text_0.0.0.
!SUBENTRY 2 meinplugin.rcp.fahrwasser.editor 2 0 2010-08-25 15:29:20.323
!MESSAGE Missing required bundle org.eclipse.ui.editors_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-08-25 15:29:20.323
!MESSAGE Bundle meinplugin.rcp.restriktion.editor_1.0.0.qualifier [289] was not resolved.
!SUBENTRY 2 meinplugin.rcp.restriktion.editor 2 0 2010-08-25 15:29:20.323
!MESSAGE Missing required bundle org.eclipse.jface.text_0.0.0.
!SUBENTRY 2 meinplugin.rcp.restriktion.editor 2 0 2010-08-25 15:29:20.323
!MESSAGE Missing required bundle org.eclipse.ui.editors_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-08-25 15:29:20.323
!MESSAGE Bundle meinplugin.rcp.standard.editor_1.0.0.qualifier [290] was not resolved.
!SUBENTRY 2 meinplugin.rcp.standard.editor 2 0 2010-08-25 15:29:20.323
!MESSAGE Missing required bundle org.eclipse.jface.text_0.0.0.
!SUBENTRY 2 meinplugin.rcp.standard.editor 2 0 2010-08-25 15:29:20.323
!MESSAGE Missing required bundle org.eclipse.ui.editors_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-08-25 15:29:20.323
!MESSAGE Bundle meinplugin.rcp.steuerung.editor_1.0.0.qualifier [291] was not resolved.
!SUBENTRY 2 meinplugin.rcp.steuerung.editor 2 0 2010-08-25 15:29:20.323
!MESSAGE Missing required bundle org.eclipse.jface.text_0.0.0.
!SUBENTRY 2 meinplugin.rcp.steuerung.editor 2 0 2010-08-25 15:29:20.323
!MESSAGE Missing required bundle org.eclipse.ui.editors_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-08-25 15:29:20.323
!MESSAGE Bundle meinplugin.rcp.widerstand.editor_1.0.0.qualifier [292] was not resolved.
!SUBENTRY 2 meinplugin.rcp.widerstand.editor 2 0 2010-08-25 15:29:20.323
!MESSAGE Missing required bundle org.eclipse.jface.text_0.0.0.
!SUBENTRY 2 meinplugin.rcp.widerstand.editor 2 0 2010-08-25 15:29:20.323
!MESSAGE Missing required bundle org.eclipse.ui.editors_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-08-25 15:29:20.323
!MESSAGE Bundle org.eclipse.jface.text_3.6.0.v20100526-0800 [321] was not resolved.
!SUBENTRY 2 org.eclipse.jface.text 2 0 2010-08-25 15:29:20.339
!MESSAGE Missing required bundle org.eclipse.text_[3.5.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-08-25 15:29:20.339
!MESSAGE Bundle org.eclipse.ui.editors_3.6.0.v20100520-0800 [322] was not resolved.
!SUBENTRY 2 org.eclipse.ui.editors 2 0 2010-08-25 15:29:20.339
!MESSAGE Missing required bundle org.eclipse.ui.ide_[3.5.0,4.0.0).
!SUBENTRY 2 org.eclipse.ui.editors 2 0 2010-08-25 15:29:20.339
!MESSAGE Missing required bundle org.eclipse.jface.text_[3.5.0,4.0.0).
!SUBENTRY 2 org.eclipse.ui.editors 2 0 2010-08-25 15:29:20.339
!MESSAGE Missing required bundle org.eclipse.ui.workbench.texteditor_[3.6.0,4.0.0).
!SUBENTRY 2 org.eclipse.ui.editors 2 0 2010-08-25 15:29:20.339
!MESSAGE Missing required bundle org.eclipse.core.filebuffers_[3.5.0,4.0.0).
!SUBENTRY 2 org.eclipse.ui.editors 2 0 2010-08-25 15:29:20.339
!MESSAGE Missing required bundle org.eclipse.core.resources_[3.5.0,4.0.0).
!SUBENTRY 2 org.eclipse.ui.editors 2 0 2010-08-25 15:29:20.339
!MESSAGE Missing required bundle org.eclipse.core.filesystem_[1.2.0,2.0.0).

!ENTRY org.eclipse.osgi 4 0 2010-08-25 15:29:20.339
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
	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:369)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1383)


komisch wieso kann die id nicht gefunden werden?
 

lam_tr

Top Contributor
Also gut, so wie ihr gesagt, habe ich im Plug-in Modus von Produkt-Configurator alle benötigten Plugins aufgeschrieben und in dem Feature-Projekt.xml unter Plug-Ins hinzugefügt und bei Dependencies "compute" betätigt, trotzdem taucht genau die Fehlermeldung mit den fehlenden Plugins, warum?

was ich vor allem sehr seltsam finde ich, bei Projekt-Feature.xml bei den Plug-ins-Reiter, alle Plugins die ich hinzugefügt haben, haben irgendwie hinten immer die Version 0_0_0, warum auch?

gruss lam
 
G

Gast2

Gast
Mach mal ein Screenshot...
Irgendwelche Abhängkeiten können denk ich mal nicht aufgelöst werden oder fehlen...
 

Wildcard

Top Contributor
Feature Based Builds können etwas kompliziert werden. Ich würde entweder Buckminster verwenden, oder dein Produkt direkt per p2 Director materialisieren. Dazu musst du lediglich aus deinem Feature ein p2 Repository bauen (Update Site). Besonders einfach geht das mit besagtem Buckminster. Dann rufst du den p2 Director auf und übergibst ihm die URL für das p2 Repository deines Features, die URL der Helios Update Site und übergibst die Product ID. Der p2 Planner materialisiert dann dein Product inklusiver aller Abhängigkeiten. Die nötigen Bundles werden aus den übergebenen Repositories automatisch zusammen gesucht.
Help - Eclipse SDK
 

lam_tr

Top Contributor
Hallo zusammen,

nach meinen Erfolgserlebnis, wollte ich noch euch kurz mitteilen was das Problem war, ihr werdet bestimmt lachen.

Nach dem Einbinden der Plugins in die Dependencies muss ich den Configurator bevor ich starte noch im "Run Configuration" die fehlenden Plugins ergänzen und danach funktionierts :)

Gruss lam
 
Ähnliche Java Themen
  Titel Forum Antworten Datum
T Java Projekt läuft nur in Eclipse Plattformprogrammierung 6
K Problem bei Einbinden einer DLL in Java-Projekt Plattformprogrammierung 4
C Es lässt sich kein Projekt in Netbeans anlegen Plattformprogrammierung 2
M Java Projekt in Windows (7): Wohin mit temporären Dateien? Plattformprogrammierung 3
B RCP Projekt settings speichern Plattformprogrammierung 2
M Grahiti in einem RCP Projekt implementieren Plattformprogrammierung 1
A RCP Kann kein Eclipse 4 Projekt anlegen Plattformprogrammierung 0
3 Eclipse Editor Plugin selektiert Projekt nicht Plattformprogrammierung 10
A Ist Projekt gelöscht? Plattformprogrammierung 3
D Plugin - JUnit - Tests aus einem anderen Projekt ausführen Plattformprogrammierung 7
R RCP Projekt exportieren wirf fehler. Plattformprogrammierung 5
R Verwendung pdfbox in Maven-Projekt in Eclipse Plattformprogrammierung 3
X Datei in einem Eclipse Projekt über Plugin zugreifen Plattformprogrammierung 2
P Wo im Projekt weitere Plugins anmelden ? Plattformprogrammierung 2
O Bundle in Projekt-Dependencies nicht sichtbar Plattformprogrammierung 6
H Bibliotheken in Eclipse-Plugin-Projekt verwenden. Plattformprogrammierung 18
N einfaches Projekt in Plugin umwandeln Plattformprogrammierung 3
A Projekt in Projekt Explorer durchlaufen Plattformprogrammierung 2
G Java Projekt in RCP Projekt umwandeln Plattformprogrammierung 2
R Integration von JDOM in Eclipse Plug-in Projekt? Plattformprogrammierung 7
L RCP BIRTViewer mit Report als RCP deployen Plattformprogrammierung 2

Ähnliche Java Themen

Neue Themen


Oben