Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » beginner mistake(cannot run the RCP application)
beginner mistake [message #639339] Tue, 16 November 2010 02:54 Go to next message
Eclipse UserFriend
I can't test run my RCP application. Here is what I think happened. I tried a first tutorial: the multi-page editor and probably launch successfully the RCP application in a new Eclipse windows, i think by running it as an Eclipse application. I was not sure of what I was seeing so I decided to try it more slowly with a simpler tutorial: hello world. I started following the instruction on how to create a new application but I was working within the Eclipse environment used to test an application, not the original environment. When I was ready to launch my hello world, it complain that I couldn't run because a workbench was already open.
I closed everything (both the original development environment and the test environment) and started Eclispe again. I try again another hello world tutorial by renaming the project hellomyworld instead of helloworld to differentiate it from my first attempt. But when I want to test my new RCP application it always lunch the previous HelloWorld development environment. I actually can't test any RCP application, even other examples as it now always lunch instead the Eclipse environment with the first Helloworld project I mistakenly created in the test application environment.
Restarting Eclipse or even rebooting doesn't solve the problem. I guess I must have corrupted some registries or something and I don't know how to restore the original configuration.
It is not the best start I had wish with Eclipse but I am not ready to give up. Any help?
Re: beginner mistake [message #639420 is a reply to message #639339] Tue, 16 November 2010 08:32 Go to previous message
Eclipse UserFriend
JC,

Comments below.

JC wrote:
> I can't test run my RCP application. Here is what I think happened. I
> tried a first tutorial: the multi-page editor and probably launch
> successfully the RCP application in a new Eclipse windows, i think by
> running it as an Eclipse application.
So you included all bundles from the target platform and the workspace
in what you ran.
> I was not sure of what I was seeing so I decided to try it more slowly
> with a simpler tutorial: hello world. I started following the
> instruction on how to create a new application but I was working
> within the Eclipse environment used to test an application, not the
> original environment. When I was ready to launch my hello world, it
> complain that I couldn't run because a workbench was already open.
In the launcher, what workspace does it specify? You can try to change
that to something else. But if you want to run an RCP application, you
probably want to be more selective about what bundles are included.
I.e., perhaps only those bundles on which your application depends.
> I closed everything (both the original development environment and the
> test environment) and started Eclispe again. I try again another hello
> world tutorial by renaming the project hellomyworld instead of
> helloworld to differentiate it from my first attempt. But when I want
> to test my new RCP application it always lunch the previous HelloWorld
> development environment.
Did you try creating a new launcher directly? (I assume you're using the
simpler Run context menu right now.)
> I actually can't test any RCP application, even other examples as it
> now always lunch instead the Eclipse environment with the first
> Helloworld project I mistakenly created in the test application
> environment.
> Restarting Eclipse or even rebooting doesn't solve the problem. I
> guess I must have corrupted some registries or something and I don't
> know how to restore the original configuration. It is not the best
> start I had wish with Eclipse but I am not ready to give up. Any help?
Look closely at all the launch configurations and create a new one via
dialog to understand better all the options available there.
Previous Topic:run-once initialization of a plug-in on first launch
Next Topic:Expression definition test
Goto Forum:
  


Current Time: Sat Jul 19 13:45:38 EDT 2025

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

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

Back to the top