0
首先我一直在使用「從現有的jar歸檔插件」創建的插件項目。我通過「plug-in.xml - >依賴關係 - >所需的插件 - >添加了我的eclipse rcp應用程序中的這個插件。」添加外部的jar到Eclipse RCP的
當我這樣做並運行應用程序時,它甚至不能識別Eclipse核心API和它引發的錯誤,如:
!SESSION 2009-08-04 18:50:31.403 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_04
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product File_Explorer.product
Command-line arguments: -product File_Explorer.product -data D:\Prabakar\Workspace\Eclipse_SDK_Workspace/../runtime-File_Explorer.product -dev file:D:/Prabakar/Workspace/Eclipse_SDK_Workspace/.metadata/.plugins/org.eclipse.pde.core/File_Explorer.product/dev.properties -os win32 -ws win32 -arch x86
!ENTRY org.eclipse.equinox.app 0 0 2009-08-04 18:50:34.887
!MESSAGE Product File_Explorer.product could not be found.
!ENTRY org.eclipse.osgi 2 0 2009-08-04 18:50:35.059
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-08-04 18:50:35.059
!MESSAGE Bundle reference:file:/D:/Installed/IDEs/eclipse_sdk/plugins/org.eclipse.equinox.p2.console_1.0.100.v20090520-1905.jar was not resolved.
!SUBENTRY 2 org.eclipse.equinox.p2.console 2 0 2009-08-04 18:50:35.059
!MESSAGE Missing imported package org.eclipse.equinox.internal.provisional.configurator_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-08-04 18:50:35.059
!MESSAGE Bundle reference:file:/D:/Installed/IDEs/eclipse_sdk/plugins/org.eclipse.equinox.p2.ui_1.0.100.v20090527-1812.jar was not resolved.
!SUBENTRY 2 org.eclipse.equinox.p2.ui 2 0 2009-08-04 18:50:35.059
!MESSAGE Missing imported package org.eclipse.equinox.internal.provisional.configurator_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-08-04 18:50:35.059