Skip to main content



      Home
Home » Modeling » EMF » How to run generated EMF editor
How to run generated EMF editor [message #429045] Tue, 07 April 2009 03:12 Go to next message
Eclipse UserFriend
Hi there,

I did several examples with EMF, designed the model and generated the
necessary source files and rightclicking the editor project -> "Run as" ->
"Eclipse Application" just worked fine.

Even when I created a new project with a different model, I did not have
to change any configuration to get it to run.

Now I seem to have changed something and when I start the editor like
that, the desired object is not listed in the "New"-dialog.

Do you run your applications using "Run as"?
Do you use "Run a product" or "Run an application" in Run Configurations?

Thanks in advance,
Peter
Re: How to run generated EMF editor [message #429060 is a reply to message #429045] Tue, 07 April 2009 06:22 Go to previous messageGo to next message
Eclipse UserFriend
Peter,

Comments below.


Peter Lang wrote:
> Hi there,
>
> I did several examples with EMF, designed the model and generated the
> necessary source files and rightclicking the editor project -> "Run
> as" -> "Eclipse Application" just worked fine.
So far so good. :-)
>
> Even when I created a new project with a different model, I did not
> have to change any configuration to get it to run.
That's because Eclipse runs with all the plugins in your workspace, so
it doesn't really matter which project you've clicked on...
>
> Now I seem to have changed something and when I start the editor like
> that, the desired object is not listed in the "New"-dialog.
Sometimes it helps to tell Eclipse to clear the configuration area when
it launches. You can control this in the run configuration.

Another thing to check is to use the run configuration wizards plugin
choices to verify that all the plugins are in a consistent state and
have all their dependencies satisfied.

And finally the error log will typically provide information about why a
given plugin hasn't been activated. I.e., maybe it required Java 6 and
you're only running with Java 5...
>
> Do you run your applications using "Run as"?
> Do you use "Run a product" or "Run an application" in Run Configurations?
>
> Thanks in advance,
> Peter
>
Re: How to run generated EMF editor [message #429067 is a reply to message #429060] Tue, 07 April 2009 07:28 Go to previous message
Eclipse UserFriend
Glad to tell it works again.

I guess that clearing the workspace did the trick.

Thanks a lot!
Previous Topic:EMF Maps and useEquals()
Next Topic:[Validation] Validate a certain feature
Goto Forum:
  


Current Time: Wed Nov 05 07:47:10 EST 2025

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

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

Back to the top