eFX Tutorial 2 gives error results [message #1271993] |
Sun, 16 March 2014 16:46  |
Eclipse User |
|
|
|
When running the eFX Tutorial 1 with Kepler SR2, I encountered no difficulties. All worked as expected.
When trying Tutorial 2, I noticed in the screenshot for step 4 that the image displayed a drop down list for Target Eclipse Version that reads "3.7". When I executed this step, the choice is "3.5 or Greater".
In the screenshot for step 5, my default Execution Environment was JavaSE-1.7 instead of the image's JavaSE1.6. I ran the tutorial steps with both environment settings - identical erroneous results in each case.
In the screenshot for step 7, the sample screenshot includes a selected checkbox labelled "With repackaged JavaFX". The checkbox and label were not visible when I ran the tutorial. My suspicion is that this may have caused the resulting generated project to contain errors.
At step 8, I stopped because the resulting artifacts were all in error:
in Activator.java, unresolved import statements such as:
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.ui.plugin.AbstractUIPlugin;
in MyViewPart.java, unresolved import:
import org.eclipse.fx.ui.workbench3.FXViewPart;
I noted that step 8 indicates that a new OSGI bundle should be the result of steps 1-7. In step 4, should the Target Platform be set to an OSGI Framework ?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: eFX Tutorial 2 gives error results [message #1281436 is a reply to message #1281372] |
Mon, 31 March 2014 18:19  |
Eclipse User |
|
|
|
What do you mean with "run outside Eclipse"? You've developed an
Eclipse-RCP-Plugin which can only run inside a full blown Eclipse RCP/IDE.
What do you want to develop? A plugin which integrates itself into an
Eclipse-SWT-RCP/IDE-Application or a pure e4+JavaFX application. If it
is the latter then Tutorial 3 & 4 are what you are looking for.
Tom
On 31.03.14 21:59, Gerry Matte wrote:
> Thanks Tom.
> I was able to complete the tutorial2 using a fresh eclipse and exactly
> following your revised instructions.
>
> Is there a way to run the generated project outside of eclipse ?
> (I realise this question is a new topic - however I was unable to
> discerne the use case for the tutorial)
|
|
|
Powered by
FUDForum. Page generated in 0.03498 seconds