JavaFX Sample Application not working [message #1707087] |
Wed, 02 September 2015 08:27 |
Teohari Simona Messages: 40 Registered: September 2015 |
Member |
|
|
Hello guys,
I will start by saying I am new in ECP and EMF topics, so if I have some dumb questions sorry for that.
I am struggling to run the 'Make it happen: sample JavaFX application ' and I receive the error that is below.
Prerequisites:
0) JRE 1.8
1) Eclipse Modelling Tools - Eclipse Mars (4.5.0)
2) Update to the latest version of EMF Forms available from : http://download.eclipse.org/ecp/releases/releases_16/ (installed the ECP SDK 3.x)
3) Followed your tutorial from the blog at JavaFX Renderer. (installed e(fx)clipse 2.0.0, set the JavaFX target contained in the bundle "makeithappen_JavaFX.target" -> "Set as target platform".) However here I do not find the files specified: *.launch, but I have a product.
4) Run the product.
Please tell me what I am doing wrong. I also saw that the tutorial is based on ECP 1.5.x and I have 1.6 now after the update.
!SESSION 2015-09-02 11:05:12.097 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_40
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.emf.ecp.makeithappen.application.sample.fx.product -debugEMFForms
Command-line arguments: -product org.eclipse.emf.ecp.makeithappen.application.sample.fx.product -data D:\ESA\VIXE\eclipse_wspJavaFX/../runtime-makeithappen_fx.product -dev file:D:/ESA/VIXE/eclipse_wspJavaFX/.metadata/.plugins/org.eclipse.pde.core/makeithappen_fx.product/dev.properties -os win32 -ws win32 -arch x86_64 -consoleLog -debugEMFForms
!ENTRY org.eclipse.emf.ecp.view.horizontal.fx 4 0 2015-09-02 11:05:14.151
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.emf.ecp.view.horizontal.fx [10]
Unresolved requirement: Require-Bundle: org.eclipse.emf.ecp.view.model.fx; bundle-version="[1.3.0,2.0.0]"
-> Bundle-SymbolicName: org.eclipse.emf.ecp.view.model.fx; bundle-version="1.7.0.201508111320"; singleton:="true"
org.eclipse.emf.ecp.view.model.fx [61]
Unresolved requirement: Require-Bundle: org.eclipse.emfforms.common; bundle-version="[1.7.0,2.0.0)"
at org.eclipse.osgi.container.Module.start(Module.java:434)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
|
|
|
|
|
Re: JavaFX Sample Application not working [message #1707890 is a reply to message #1707803] |
Thu, 10 September 2015 08:29 |
Jonas Helming Messages: 699 Registered: July 2009 |
Senior Member |
|
|
Hi Simona,
unfortunatelly, we do not have a complete list of what is currently not
supported by the JavaFX renderer. In any case, the SWT renderer is
currently much wider in use and provides all features, as it is the
renference implementation.
However, we are interested in driving the JavaFX renderer forward. Any
contributions or sponsorship is welcome.
Also we would be interested in a list of features, that your currently
miss in teh JavaFX renderer.
Best regards
Jonas
Am 09.09.2015 um 15:00 schrieb Teohari Simona:
> Hello Eugen,
>
> Thank you very much for the details provided. I was now able to see a
> working example with Java FX. Apparently I missed the details provided :( :
>
> For Emf Forms until 1.6, please use e(fx)eclipse 1.1
> For Emf Forms 1.7, please use e(fx)eclipse 2.0
>
> I have one more question. There is a possibility to see what are exactly
> the supported components and major restrictions when using Java FX? I am
> interested because I want to evaluate and choose the right renderer for
> my application.
>
> "Please note that reference widgets and some view model elements are
> currently not supported by the JavaFX renderer."
>
> Thank you,
> Simona
--
--
Jonas Helming
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
|
|
|
Powered by
FUDForum. Page generated in 0.04181 seconds