Servus zusammen,
ich habe vor ein Programm zu schreiben und bin fertig, bis auf diese eine (große) Sache.
Das Programm basiert auf einem OpenSource Programm, das bereits mit OSGi-Bundles arbeitet. Ich wollte diesen ein weiteres hinzufügen.
Habe nun also ein fertiges Bundle (javax.mail_1.4.0) heruntergeladen und in den Ordner plugins geschoben, wo bereits die anderen verwendeten und funktionierend Plugins sind. Nun habe ich die Running Platform upgedated und unter dem Manifest-Editor den Reiter Dependencies ausgewählt. Bei den required Plugins auf add und das javax.mail Plugin hinzugefügt. Alle abgespeichert und versucht das Product wie immer zu starten:
!SESSION 2014-08-11 13:21:14.810 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_45
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
Framework arguments: -product com.sebulli.fakturama.product
Command-line arguments: -product com.sebulli.fakturama.product -data C:\Users\HazTe\Desktop\endgueltig\arbeitsflaeche/../runtime-Fakturama.product -dev file:C:/Users/HazTe/Desktop/endgueltig/arbeitsflaeche/.metadata/.plugins/org.eclipse.pde.core/Fakturama.product/dev.properties -os win32 -ws win32 -arch x86_64 -consoleLog
!ENTRY org.eclipse.equinox.app 0 0 2014-08-11 13:21:15.983
!MESSAGE Product com.sebulli.fakturama.product could not be found.
!ENTRY org.eclipse.osgi 2 0 2014-08-11 13:21:15.999
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-08-11 13:21:15.999
!MESSAGE Bundle reference:file:/C:/Users/HazTe/Desktop/endgueltig/arbeitsflaeche/com.sebulli.fakturama/ was not resolved.
!SUBENTRY 2 com.sebulli.fakturama 2 0 2014-08-11 13:21:15.999
!MESSAGE Missing required bundle javax.mail_1.4.0.
!ENTRY org.eclipse.osgi 2 0 2014-08-11 13:21:16.015
!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 2014-08-11 13:21:16.015
!MESSAGE Bundle com.sebulli.fakturama_1.6.6 [1215] was not resolved.
!SUBENTRY 2 com.sebulli.fakturama 2 0 2014-08-11 13:21:16.015
!MESSAGE Missing required bundle javax.mail_1.4.0.
!ENTRY org.eclipse.osgi 2 0 2014-08-11 13:21:16.030
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-08-11 13:21:16.030
!MESSAGE Bundle reference:file:/C:/Users/HazTe/Desktop/endgueltig/arbeitsflaeche/com.sebulli.fakturama/ was not resolved.
!SUBENTRY 2 com.sebulli.fakturama 2 0 2014-08-11 13:21:16.030
!MESSAGE Missing required bundle javax.mail_1.4.0.
!ENTRY org.eclipse.osgi 2 0 2014-08-11 13:21:16.030
!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 2014-08-11 13:21:16.030
!MESSAGE Bundle com.sebulli.fakturama_1.6.6 [1215] was not resolved.
!SUBENTRY 2 com.sebulli.fakturama 2 0 2014-08-11 13:21:16.030
!MESSAGE Missing required bundle javax.mail_1.4.0.
!ENTRY org.eclipse.osgi 4 0 2014-08-11 13:21:16.046
!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:344)
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:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
An error has occurred. See the log file
C:\Users\HazTe\Desktop\endgueltig\arbeitsflaeche\.metadata\.plugins\org.eclipse.pde.core\Fakturama.product\1407756074982.log.
An was könnte dies liegen?
Danke für jegliche Hilfe!!
ich habe vor ein Programm zu schreiben und bin fertig, bis auf diese eine (große) Sache.
Das Programm basiert auf einem OpenSource Programm, das bereits mit OSGi-Bundles arbeitet. Ich wollte diesen ein weiteres hinzufügen.
Habe nun also ein fertiges Bundle (javax.mail_1.4.0) heruntergeladen und in den Ordner plugins geschoben, wo bereits die anderen verwendeten und funktionierend Plugins sind. Nun habe ich die Running Platform upgedated und unter dem Manifest-Editor den Reiter Dependencies ausgewählt. Bei den required Plugins auf add und das javax.mail Plugin hinzugefügt. Alle abgespeichert und versucht das Product wie immer zu starten:
!SESSION 2014-08-11 13:21:14.810 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_45
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
Framework arguments: -product com.sebulli.fakturama.product
Command-line arguments: -product com.sebulli.fakturama.product -data C:\Users\HazTe\Desktop\endgueltig\arbeitsflaeche/../runtime-Fakturama.product -dev file:C:/Users/HazTe/Desktop/endgueltig/arbeitsflaeche/.metadata/.plugins/org.eclipse.pde.core/Fakturama.product/dev.properties -os win32 -ws win32 -arch x86_64 -consoleLog
!ENTRY org.eclipse.equinox.app 0 0 2014-08-11 13:21:15.983
!MESSAGE Product com.sebulli.fakturama.product could not be found.
!ENTRY org.eclipse.osgi 2 0 2014-08-11 13:21:15.999
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-08-11 13:21:15.999
!MESSAGE Bundle reference:file:/C:/Users/HazTe/Desktop/endgueltig/arbeitsflaeche/com.sebulli.fakturama/ was not resolved.
!SUBENTRY 2 com.sebulli.fakturama 2 0 2014-08-11 13:21:15.999
!MESSAGE Missing required bundle javax.mail_1.4.0.
!ENTRY org.eclipse.osgi 2 0 2014-08-11 13:21:16.015
!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 2014-08-11 13:21:16.015
!MESSAGE Bundle com.sebulli.fakturama_1.6.6 [1215] was not resolved.
!SUBENTRY 2 com.sebulli.fakturama 2 0 2014-08-11 13:21:16.015
!MESSAGE Missing required bundle javax.mail_1.4.0.
!ENTRY org.eclipse.osgi 2 0 2014-08-11 13:21:16.030
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-08-11 13:21:16.030
!MESSAGE Bundle reference:file:/C:/Users/HazTe/Desktop/endgueltig/arbeitsflaeche/com.sebulli.fakturama/ was not resolved.
!SUBENTRY 2 com.sebulli.fakturama 2 0 2014-08-11 13:21:16.030
!MESSAGE Missing required bundle javax.mail_1.4.0.
!ENTRY org.eclipse.osgi 2 0 2014-08-11 13:21:16.030
!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 2014-08-11 13:21:16.030
!MESSAGE Bundle com.sebulli.fakturama_1.6.6 [1215] was not resolved.
!SUBENTRY 2 com.sebulli.fakturama 2 0 2014-08-11 13:21:16.030
!MESSAGE Missing required bundle javax.mail_1.4.0.
!ENTRY org.eclipse.osgi 4 0 2014-08-11 13:21:16.046
!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:344)
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:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
An error has occurred. See the log file
C:\Users\HazTe\Desktop\endgueltig\arbeitsflaeche\.metadata\.plugins\org.eclipse.pde.core\Fakturama.product\1407756074982.log.
An was könnte dies liegen?
Danke für jegliche Hilfe!!