Help setting target platform for e4 + fx + emf forms [message #1698441] |
Mon, 15 June 2015 12:59  |
Eclipse User |
|
|
|
Hello,
I am currently trying to code an e4 application with javafx rendering, and came to an issue on target when trying to add emf forms to it.
I am following the guidelines of not using the directives on manifests, but the bundles from org.eclipse.emf.ecp.view.sdk.fx.feature use them so i added the org.eclipse.fx.runtime.min.feature.feature.group to my target (along with the [org.eclipse.fx.runtime.e4fx.feature ) .
Eclipse validates the plugins on run configuration but when launching the application, when the handler calls the part object i get:
java.lang.ClassNotFoundException: javafx.scene.Node cannot be found by org.eclipse.emf.ecp.view.model.fx_1.5.0.201411161608
Thanks in advance.
|
|
|
|
|
|
|
|
|
|
|
|
Re: Help setting target platform for e4 + fx + emf forms [message #1699283 is a reply to message #1699276] |
Tue, 23 June 2015 04:47  |
Eclipse User |
|
|
|
In 2.x you don't need any package imports at all!
Our advice for > 2.x is:
* in RCP use -Dorg.osgi.framework.bundle.parent=ext
* in Plugin-Dev use the adapter hooks
=> they have changed in 2.x to work as a last resort strategy
so they work with/without package imports!
Tom
On 23.06.15 10:18, Eugen Neufeld wrote:
> Hi Derek, Hi Tom,
> We are using package imports in our bundles. This was the way the
> example did it in version 1.0.0 and 1.1.0 of e(fx)clipse.
> As the EMFForms implementation for JavaFX never found any (known) users
> we kept it on maintenance. Would it be enough to change the package
> imports to bundle imports?
> We would happily accept a contribution and provide any help needed.
>
> Cheers,
> Eugen
|
|
|
Powered by
FUDForum. Page generated in 0.05496 seconds