Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Running a 3.x RCP application with Eclipse 4.2
Running a 3.x RCP application with Eclipse 4.2 [message #896953] Fri, 20 July 2012 14:04 Go to next message
Valerio Santinelli is currently offline Valerio SantinelliFriend
Messages: 39
Registered: January 2012
Member
According to a tutorial by Lars Vogel, if I grab my 3.x RCP application and I've already got it configured to use features, I should be able to run it from Eclipse 4.2 without making any change.

I tried but I keep getting the following error:


!SESSION Fri Jul 20 15:54:00 CEST 2012 -----------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2012-07-20 15:54:00.725
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:626)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

Is there anyone who could help me finding out what's going wrong? Please let me know what details you need.

Re: Running a 3.x RCP application with Eclipse 4.2 [message #896960 is a reply to message #896953] Fri, 20 July 2012 14:25 Go to previous message
Valerio Santinelli is currently offline Valerio SantinelliFriend
Messages: 39
Registered: January 2012
Member
I've got it working by changing the configuration and adding all the required plugins again.

Now that the application is starting up, I'm still having an issue in my ApplicationWorkbenchAdvisor because the following call which worked on 3.x is returning null now:

this.getWorkbenchConfigurer().getWorkbench().getActiveWorkbenchWindow().getShell()

Any clues? Thanks!

Update:

I found the solution, I should have been doing this in the window advisor.

[Updated on: Fri, 20 July 2012 16:00]

Report message to a moderator

Previous Topic:Save reference of input of a Part
Next Topic:JFace Databinding for editable viewer
Goto Forum:
  


Current Time: Sun Oct 13 01:34:02 GMT 2024

Powered by FUDForum. Page generated in 0.03336 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top