Build Test Plugin with GEF5
(too old to reply)
Hannes Niederhausen
2018-10-24 08:06:02 UTC

I am using Tycho to build an Eclipse RCP using GEF5, which means I need to include JavaFX as well.

The product is building fine, however now I have a eclipse-plugin-test which runs an GUI test and this is not working.

Using the following surefire configuration, as suggested by the GEF adopters guide:

<appArgLine>-nosplash -consoleLog -debug</appArgLine>

I added the extra requirements to the target definiton configuration:


However when running the test, compilation is fine, but execution throws a NoClassDefFoundException for javafx.events.Event.

IO also tried to use: -Dorg.osgi.framework.bundle.parent=ext
With this the jvafx classes are found however javafx.embed.swt.FXCanvas isn't.

I try to solve the problem for 2 days now and really don't know what to do.

Has anybody an idea, how to fix the problem?

thanks in advance and kind regards

Continue reading on narkive: