| Headless Build with Tycho [message #809265] |
Tue, 28 February 2012 11:55  |
Thomas Kölling Messages: 45 Registered: December 2011 Location: Munich |
Member |
|
|
Hey Guys,
is there a tutorial out there which describes the headless build for an E4 Project with Tycho? I've tried some tutorials based on 3.x, but they doesn't seem to work.
Greetings Thomas
|
|
|
|
|
|
|
| Re: Headless Build with Tycho [message #815338 is a reply to message #813600] |
Wed, 07 March 2012 09:25   |
Thomas Kölling Messages: 45 Registered: December 2011 Location: Munich |
Member |
|
|
Hi Brian, great to know that somebody use e4 rcp with tycho. In my case the build for now is successful, with a custom target platform file. Unfortunately by executing the resulting exe file, the application throws an exception:
java.lang.NullPointerException
at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.<init>(ModelServiceImpl.java:92)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultContext(E4Application.java:482)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:172)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:125)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:352)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:624)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:579)
at org.eclipse.equinox.launcher.Main.run(Main.java:1433)
Maybe you've had this problem already an can help me. If i start the Application directly from an eclipse launch configuration, with the same dependencies like in the product file, all things are ok and the app starts.
btw. normal export via eclipse and the same target platform works fine. the plugin folder contains in both builds the same plugins.
edit2: The problem is the config.ini file. With the config.ini from the Eclipse Export, the Tycho build works. I look tomorrow deeper into this.
greetings Thomas
[Updated on: Wed, 07 March 2012 10:09] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01664 seconds