eFX Tutorial 2 gives error results [message #1271993] |
Sun, 16 March 2014 20:46 |
Gerry Matte Messages: 11 Registered: March 2014 Location: Nanaimo, BC, Canada |
Junior Member |
|
|
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 #1279448 is a reply to message #1278811] |
Fri, 28 March 2014 19:26 |
Gerry Matte Messages: 11 Registered: March 2014 Location: Nanaimo, BC, Canada |
Junior Member |
|
|
Hi Tom.
I tested the revised tutorial 2. I've now used the release 0.9 update site when defining the target environment in step 1.8
The screen image I see in step 6 says "JavaFX Eclipse 3.x Project" instead of "JavaFX Eclipse 3.x ViewPart".
At step 8, I again see lots of errors. I will attach a screen image (efx-tutorial2-errorsAtEnd.png) and the generated project artifacts (MyFXViewPart.zip) at the start of step 8
At the end of step 7 I saw an unexpected popup window asking if I wanted to open the Associated Perspective. I chose to not open it.
I captured screen images as I went along. Those are also attached as zip file $screen.zip
Let me know if I can assist in any way with resolving this problem.
If anyone else using Kepler SR2 was able to successfully arrive at step 8 without any errors, please let us know. That would indicate there is something unusual about my environment....
[Updated on: Fri, 28 March 2014 19:28] Report message to a moderator
|
|
|
|
Re: eFX Tutorial 2 gives error results [message #1279505 is a reply to message #1279484] |
Fri, 28 March 2014 21:15 |
Gerry Matte Messages: 11 Registered: March 2014 Location: Nanaimo, BC, Canada |
Junior Member |
|
|
Were you referring to step 1.5 when you mentioned "select default target" ?
Attached are my target platform settings using the new target platform as was previously specified in step 1.
I tried (see target-07.png) to instead add the target to the default target platform and saw the attached errors in target-08.png.
[Updated on: Fri, 28 March 2014 21:26] Report message to a moderator
|
|
|
|
|
Re: eFX Tutorial 2 gives error results [message #1279548 is a reply to message #1279519] |
Fri, 28 March 2014 22:57 |
Gerry Matte Messages: 11 Registered: March 2014 Location: Nanaimo, BC, Canada |
Junior Member |
|
|
I'm sure I used "Default: Default target for the running platform"
When I finished, I was left with two target platforms named "Running Platform". Is that correct ? I now wonder which one I actually activated.
Did you intend that I should be instead editing my default running platform ?
If I do that, the generated project has no errors.
Attached is the html to describe the changes to step1 of the tutorial if you intended to edit the default target platform.
[Updated on: Fri, 28 March 2014 22:59] Report message to a moderator
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03590 seconds