Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Problems running RCP application

Title: Problems running RCP application

This sounds like the PDE export magically sets the start levels differently from what you have specified in your product configuration. You should compare the config.ini/bundles.info of the two installations and add the start levels missing in the Tycho build results.

 

Btw. http://wiki.eclipse.org/Tycho/Demo_Projects/RCP_Application shows a working example of a product build. In particular you should have a look at this file: http://git.eclipse.org/c/tycho/org.eclipse.tycho.git/tree/tycho-demo/itp04-rcp/eclipse-repository/example.product

 

Regards

Tobias

 

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Jens Pillgram-Larsen
Sent: Freitag, 14. Oktober 2011 03:50
To: tycho-user@xxxxxxxxxxx
Subject: [tycho-user] Problems running RCP application

 

I have an RCP application that is built using Tycho 0.13. The build passes through cleanly, but the result does not run. The error is the same on Windows and Linux:

!SESSION 2011-10-13 18:26:10.710 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.equinox.app 0 0 2011-10-13 18:26:19.131
!MESSAGE Product com.rti.tools.ddr.deploy.product could not be found.

!ENTRY org.eclipse.osgi 4 0 2011-10-13 18:26:19.225
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
    at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:242)
    at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
    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:369)
    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:620)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1408)

When I export the same product definition directly from Eclipse everything works as expected.

Are there any known differences between the Eclipse export and Tycho that I should be aware of?

Thank you, Jens


Back to the top