|Re: Product created from a working plugin fails to start [message #1770311 is a reply to message #1770132]
||Wed, 09 August 2017 22:05
| Michael Moser
Registered: October 2012
Location: Zürich, Switzerland
Brian de Alwis wrote on Tue, 08 August 2017 16:43|
It's a pretty confusing message! ....
After removing all existing runtime workspaces and restarting from a clean (re-)install I didn't get these missing constraints issues any more but different errors. So, this time I'll try to recap my steps as precisely as possible:
- I downloaded and installed the Eclipse flavour "Eclipse for RCP and RAP Developers".
- I opened the Tutorial and the Cheat sheet for "Creating a Rich Client Application"
- First bullet is to create a plugin, so:
- Selected "File->New->Project...
- Named it "com.example.rcpapp" as described. Clicked "Next"
- Selected the "Yes" radio button under the "Rich Client Application" heading on the "Plug-in Content" page and click "Next"
- Since there is no "Hello RCP" Template (as described in the cheat sheet) I choose "Eclipse 4 RCP application". Clicked "Next"
- To make things a bit more interesting I also checked the two checkboxes "create sample content" and "add a life cycle class" and then hit "Finish".
- Next the cheat sheet reads "Run the application" and instructs to
- Select the "com.example.rcpapp" plug-in editor from the workbench and select the "Overview" tab within it
- Click the "Launch an Eclipse application" hyperlink under the "Testing" heading
- If I do so a new Eclipse splash screen appears and then I get a rudimentary workbench with a project explorer and an outline view at the left as well as a task view at the bottom.
On the console I get a couple of error messages (multiple slf4j bindings, key binding conflicts, etc) and finally ending in:
!ENTRY org.eclipse.oomph.setup.ui 2 0 2017-08-09 23:36:40.991
That's not quite what I had expected...
Looking at the source code of the created sample code there are four handlers and a "SamplePart" defined and an Application.e4xmi file that seems to define menu entries and a window and dialogs referencing these (I don't understand this e4xmi file, yet, but I read that this is defining the actions and handlers and other E4 GUI stuff). So I would have expected a view "SamplePart" with some menu entries for About, Open, Save and Quit.
But I don't see any menu entry or command or toolbar or anything to open such a "SamplePart", e.g. via File => New => Other => SamplePart or anything similar. :-(
So, how is one supposed to interact and "play" with that sample code and start going?
It seems to me as if the Tutorial/Cheat Sheet and the templates don't fit to each other and the template doesn't properly run - at least not out-of-the-box. What am I missing?
Powered by FUDForum
. Page generated in 0.02068 seconds