Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within IDEs and Version Control
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Paul Clapham
Ron McLeod
Jeanne Boyarsky
Tim Cooke
Sheriffs:
Liutauras Vilda
paul wheaton
Henry Wong
Saloon Keepers:
Tim Moores
Tim Holloway
Stephan van Hulst
Carey Brown
Frits Walraven
Bartenders:
Piet Souris
Himai Minh
Forum:
Other IDEs, Version Control
Eclipse3.x RCP plugin can not work in Eclipse 4.x
Ken Liao
Greenhorn
Posts: 15
posted 10 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I'm trying to upgrade my plugin application to eclipse 4 which was developed with eclipse3.
I added the necessary plug-ins:
<import plugin="org.eclipse.e4.ui.workbench.addons.swt" version="0.10.0"/> <import plugin="org.eclipse.equinox.ds" version="1.3.1"/> <import plugin="org.eclipse.equinox.event" version="1.2.100"/> <import plugin="org.eclipse.platform" version="4.1.0"/>
And also specified "org.eclipse.platform/LegacyIDE.e4xmi" for product node in plugin.xml:
<product name="%appName" application="com.alterpoint.ine.rcp.EngineeringEnvironment"> <property name="appName" value="%appName" /> <property name="windowImages" value="icons/logo.gif,icons/logo32.gif" /> <property name="aboutText" value="%aboutText" /> <property name="aboutImage" value="icons/logo_lg.gif" /> <property name="startupForegroundColor" value="FFFFFF" /> <property name="startupMessageRect" value="94,200,280,20" /> <property name="startupProgressRect" value="94,179,280,11" /> <property name="preferenceCustomization" value="preferences.ini"/> <property name="applicationXMI" value="org.eclipse.platform/LegacyIDE.e4xmi"/> </product>
But it started up failed while trying to start it:
!ENTRY org.eclipse.osgi 4 0 2011-11-01 17:00:27.390 !MESSAGE Application error !STACK 1 java.lang.IllegalStateException: Core services not available. Please make sure that a declarative service implementation (such as the bundle 'org.eclipse.equinox.ds') is available! at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:194) at org.eclipse.ui.internal.Workbench$3.run(Workbench.java:528) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:519) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.alterpoint.ine.rcp.core.IneRcpApplication.run(IneRcpApplication.java:63) 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:597) at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198) 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(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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)
can anybody tell me how can I fix it? Thanks!
A man takes responsibility for his actions, right or wrong - <<Battlestar Galactica>>
Ken Liao
Greenhorn
Posts: 15
posted 10 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Is there anybody can help, please?
A man takes responsibility for his actions, right or wrong - <<Battlestar Galactica>>
Ken Liao
Greenhorn
Posts: 15
posted 10 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I added the following plugin for launcher and it works now
org.eclipse.e4.ui.workbench.addons.swt
org.eclipse.equinox.ds
org.eclipse.equinox.event
org.eclipse.equinox.util
A man takes responsibility for his actions, right or wrong - <<Battlestar Galactica>>
On my planet I'm considered quite beautiful. Thanks to the poetry in this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
!MESSAGE com/jcraft/jsch/JSchException
WAS - Start and Stop Server Problem on Windows
NoClassDefFoundError in Plugin
swt-designer (design view does not work)
Eclipse: "Unable to read workbench state , workbench UI layout will be reset."
More...