[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[tycho-user] SWTBot for Eclipse e4 RCP with Tycho
|
Hi,
I'm trying to run SWTBot for an e4 RCP application with Tycho. Does
anyone have a working setup which I can look at?
My build currently fails with the error below. I created an isolated
example: https://github.com/vogellacompany/swtbot-e4rcp
INFO] Command line:
[/home/vogella/.sdkman/candidates/java/16.0.0.hs-adpt/bin/java,
-Dosgi.noShutdown=false, -Dosgi.os=linux, -Dosgi.ws=gtk,
-Dosgi.arch=x86_64, -Dosgi.clean=true, -jar,
/home/vogella/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.launcher/1.6.100.v20201223-0822/org.eclipse.equinox.launcher-1.6.100.v20201223-0822.jar,
-data, /home/vogella/git/swtbot-e4rcp/com.example.e4.swtbottests/target/work/data,
-install, /home/vogella/git/swtbot-e4rcp/com.example.e4.swtbottests/target/work,
-configuration,
/home/vogella/git/swtbot-e4rcp/com.example.e4.swtbottests/target/work/configuration,
-application, org.eclipse.tycho.surefire.osgibooter.uitest,
-testproperties,
/home/vogella/git/swtbot-e4rcp/com.example.e4.swtbottests/target/surefire.properties,
-testApplication, org.eclipse.e4.ui.workbench.swt.E4Application,
-product, com.example.e4.rcp.product, -nouithread]
Launching application org.eclipse.e4.ui.workbench.swt.E4Application...
applicationXMI parameter not set and no branding plugin defined.
java.lang.Exception
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.lambda$12(E4Application.java:388)
at java.base/java.util.Optional.orElseGet(Optional.java:364)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.determineApplicationModelURI(E4Application.java:382)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.loadApplicationModel(E4Application.java:342)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:247)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:155)
at org.eclipse.tycho.surefire.osgibooter.UITestApplication.runApplication(UITestApplication.java:29)
at org.eclipse.tycho.surefire.osgibooter.AbstractUITestApplication.run(AbstractUITestApplication.java:122)
at org.eclipse.tycho.surefire.osgibooter.UITestApplication.start(UITestApplication.java:35)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:1461)
at org.eclipse.equinox.launcher.Main.main(Main.java:1434)
An error has occurred. See the log file
/home/vogella/git/swtbot-e4rcp/com.example.e4.swtbottests/target/work/data/.metadata/.log.
Best regards, Lars
--
Eclipse Platform project co-lead
CEO vogella GmbH
Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email: lars.vogel@xxxxxxxxxxx, Web: http://www.vogella.com