导出 Eclipse RCP 产品
Export Eclipse RCP Product
我正在尝试创建 Eclipse RCP 应用程序;我导出了这个应用程序,但是当我尝试打开我的 Eclipse RCP 产品时,我在我的记录器文件中收到了这个问题:
!SESSION 2015-03-17 12:01:08.995 eclipse.buildId=unknown
java.version=1.7.0_71 java.vendor=Oracle Corporation BootLoader
constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US Command-line
arguments: -os win32 -ws win32 -arch x86_64
!ENTRY org.eclipse.osgi 4 0 2015-03-17 12:01:10.027 !MESSAGE
Application error !STACK 1 java.lang.RuntimeException: Application
"test.rcp.application" could not be found in the registry. The
applications available are:
org.eclipse.e4.ui.workbench.swt.E4Application,
org.eclipse.e4.ui.workbench.swt.GenTopic,
org.eclipse.equinox.app.error. at
org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:248)
at
org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606) at
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648) at
org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) at
org.eclipse.equinox.launcher.Main.run(Main.java:1465)
谁能帮帮我?
如果这是一个 Eclipse e4 应用程序,您可以在 xxx.product 配置文件中指定 org.eclipse.e4.ui.workbench.swt.E4Application
作为应用程序。
使用您在 RCP plugin.xml 中定义的产品。
我正在尝试创建 Eclipse RCP 应用程序;我导出了这个应用程序,但是当我尝试打开我的 Eclipse RCP 产品时,我在我的记录器文件中收到了这个问题:
!SESSION 2015-03-17 12:01:08.995 eclipse.buildId=unknown java.version=1.7.0_71 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US Command-line arguments: -os win32 -ws win32 -arch x86_64
!ENTRY org.eclipse.osgi 4 0 2015-03-17 12:01:10.027 !MESSAGE Application error !STACK 1 java.lang.RuntimeException: Application "test.rcp.application" could not be found in the registry. The applications available are: org.eclipse.e4.ui.workbench.swt.E4Application, org.eclipse.e4.ui.workbench.swt.GenTopic, org.eclipse.equinox.app.error. at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:248) at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
谁能帮帮我?
如果这是一个 Eclipse e4 应用程序,您可以在 xxx.product 配置文件中指定 org.eclipse.e4.ui.workbench.swt.E4Application
作为应用程序。
使用您在 RCP plugin.xml 中定义的产品。