|
Re: beginner mistake [message #639420 is a reply to message #639339] |
Tue, 16 November 2010 13:32 |
Ed Merks Messages: 33158 Registered: July 2009 |
Senior Member |
|
|
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.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03421 seconds