[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Problem with RCP product launch,


I create an eclipse RCP product and export it as a directory

When I try to launch it by invoking eclipse.exe

eclipse shows me following error messages in it's log:

!SESSION 2005-11-23 16:51:09.474 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.4.2_03
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ru_RU
Command-line arguments: -os win32 -ws win32 -arch x86


!ENTRY org.eclipse.osgi 2005-11-23 16:51:10.927
!MESSAGE Error installing bundle: reference:file:plugins/CoiControllerRCPPlugin_1.0.0/
!STACK 0
org.osgi.framework.BundleException: Error converting plugin at c:\Users\evl\ARM_COIController\eclipse\plugins\CoiControllerRCPPlugin_1.0.0.
at org.eclipse.core.runtime.adaptor.EclipseBundleData.generateManifest(EclipseBundleData.java:302)
at org.eclipse.core.runtime.adaptor.EclipseBundleData.loadManifest(EclipseBundleData.java:257)
at org.eclipse.core.runtime.adaptor.EclipseBundleData.getManifest(EclipseBundleData.java:220)
at org.eclipse.core.runtime.adaptor.EclipseBundleData.loadFromManifest(EclipseBundleData.java:345)
at org.eclipse.osgi.framework.adaptor.core.AbstractBundleData.initializeNewBundle(AbstractBundleData.java:639)
at org.eclipse.osgi.framework.adaptor.core.AbstractFrameworkAdaptor$1.begin(AbstractFrameworkAdaptor.java:894)
at org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:821)
at org.eclipse.osgi.framework.internal.core.Framework$2.run(Framework.java:737)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:788)
at org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:732)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:221)
at org.eclipse.core.runtime.adaptor.EclipseStarter.installBundles(EclipseStarter.java:956)
at org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBundles(EclipseStarter.java:543)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:288)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:159)
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:324)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
Caused by: org.eclipse.osgi.service.pluginconversion.PluginConversionException: Error parsing plugin manifest. Missing attribute "id" in element "plugin".
at org.eclipse.core.runtime.internal.adaptor.PluginConverterImpl.fillPluginInfo(PluginConverterImpl.java:97)
at org.eclipse.core.runtime.internal.adaptor.PluginConverterImpl.convertManifest(PluginConverterImpl.java:689)
at org.eclipse.core.runtime.adaptor.EclipseBundleData.generateManifest(EclipseBundleData.java:299)
... 23 more
Root exception:
org.eclipse.osgi.service.pluginconversion.PluginConversionException: Error parsing plugin manifest. Missing attribute "id" in element "plugin".
at org.eclipse.core.runtime.internal.adaptor.PluginConverterImpl.fillPluginInfo(PluginConverterImpl.java:97)
at org.eclipse.core.runtime.internal.adaptor.PluginConverterImpl.convertManifest(PluginConverterImpl.java:689)
at org.eclipse.core.runtime.adaptor.EclipseBundleData.generateManifest(EclipseBundleData.java:299)
at org.eclipse.core.runtime.adaptor.EclipseBundleData.loadManifest(EclipseBundleData.java:257)
at org.eclipse.core.runtime.adaptor.EclipseBundleData.getManifest(EclipseBundleData.java:220)
at org.eclipse.core.runtime.adaptor.EclipseBundleData.loadFromManifest(EclipseBundleData.java:345)
at org.eclipse.osgi.framework.adaptor.core.AbstractBundleData.initializeNewBundle(AbstractBundleData.java:639)
at org.eclipse.osgi.framework.adaptor.core.AbstractFrameworkAdaptor$1.begin(AbstractFrameworkAdaptor.java:894)
at org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:821)
at org.eclipse.osgi.framework.internal.core.Framework$2.run(Framework.java:737)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:788)
at org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:732)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:221)
at org.eclipse.core.runtime.adaptor.EclipseStarter.installBundles(EclipseStarter.java:956)
at org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBundles(EclipseStarter.java:543)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:288)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:159)
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:324)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)


!ENTRY org.eclipse.core.runtime 2005-11-23 16:51:11.865
!MESSAGE Product CoiControllerRCPPlugin.CoiControllerProduct_ID could not be found.


!ENTRY org.eclipse.osgi 2005-11-23 16:51:11.865
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:204)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
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:324)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)



My plugin.xml file has following content:
<?xml version="1.0" encoding="UTF-8" ?> <?eclipse version="3.0"?> - <plugin>
- <extension id="application" point="org.eclipse.core.runtime.applications">
- <application>
<run class="simpleRCP.Application" /> </application>
</extension>
- <extension point="org.eclipse.ui.perspectives">
<perspective name="SimpleRCP Perspective" class="simpleRCP.Perspective" id="SimpleRCP.perspective" /> </extension>
- <extension point="org.eclipse.ui.actionSets">
- <actionSet id="SimpleRCP.actionSet" label="SimpleRCP.ActionSet" visible="true">
- <menu id="SimpleMenu" label="&&#1044;&#1077;&#1081;&#1089;&#1090;&#1074;&#1080;&#1077;">
<separator name="SimpleSep" /> </menu>
<action class="simpleRCP.SimpleAction" id="SimpleRCP.actions.COIStartAction" label="&#1047;&#1072;&#1087;&#1091;&#1089;&#1082; &&#1050;&#1086;&#1085;&#1090;&#1088;&#1086;&#1083;&#1083;&#1077;&#1088;&#1072; &#1062;&#1054;&#1048;" menubarPath="SimpleMenu/SimpleSep" style="push" toolbarPath="SimpleSep" tooltip="&#1069;&#1090;&#1086; &#1076;&#1077;&#1081;&#1089;&#1090;&#1074;&#1080;&#1077; &#1079;&#1072;&#1087;&#1091;&#1089;&#1082;&#1072;&#1077;&#1090; &#1088;&#1072;&#1073;&#1086;&#1090;&#1091; &#1062;&#1054;&#1048; &#1050;&#1086;&#1085;&#1090;&#1088;&#1086;&#1083;&#1083;&#1077;&#1088;&#1072;" /> <action class="simpleRCP.COIStopAction" id="SimpleRCP.actions.COIStopAction" label="&&#1054;&#1089;&#1090;&#1072;&#1085;&#1086;&#1074;&#1080;&#1090;&#1100; &#1050;&#1086;&#1085;&#1090;&#1088;&#1086;&#1083;&#1083;&#1077;&#1088; &#1062;&#1054;&#1048;" menubarPath="SimpleMenu/SimpleSep" style="push" toolbarPath="SimpleSep" /> </actionSet>
</extension>
- <extension id="CoiControllerProduct_ID" name="CoiControllerProductExtension" point="org.eclipse.core.runtime.products">
<product application="CoiControllerRCPPlugin.application" name="SimpleRCP.CoiController" /> </extension>
</plugin>


What am I doing wrong? Please help :)