Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Have to manually start org.eclipse.runtime in product(What's causing it not to autostart?)
Have to manually start org.eclipse.runtime in product [message #495580] Thu, 05 November 2009 07:00 Go to next message
Torbjørn G. Dahle is currently offline Torbjørn G. Dahle
Messages: 20
Registered: July 2009
Junior Member
I had a problem with running my exported RCP app, getting the "Ensure that the org.eclipse.core.runtime bundle is resolved and started" error. I found out that adding org.eclipse.runtime in the Configuration tab in my product fixed this, but I've never had to add this on my other applications. Does anyone have an idea what's causing Eclipse not to automatically start this plugin?
Re: Have to manually start org.eclipse.runtime in product [message #495730 is a reply to message #495580] Thu, 05 November 2009 15:34 Go to previous messageGo to next message
Andrew Niefer is currently offline Andrew Niefer
Messages: 990
Registered: July 2009
Senior Member
It is likely to be a build-time thing, PDE/Build normally generates
config info for you to automatically start org.eclipse.core.runtime.
However, there are cases where this doesn't happen:

1) if you provide your own config.ini
2) if you are exporting with metadata and your .product file specifies
some start levels. Here, if you specify some start levels, you will
need to specify all of the required ones.

http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .pde.doc.user/tasks/pde_p2_configuringproducts.htm

-Andrew

Torbj wrote:
> I had a problem with running my exported RCP app, getting the "Ensure
> that the org.eclipse.core.runtime bundle is resolved and started"
> error. I found out that adding org.eclipse.runtime in the Configuration
> tab in my product fixed this, but I've never had to add this on my other
> applications. Does anyone have an idea what's causing Eclipse not to
> automatically start this plugin?
Re: Have to manually start org.eclipse.runtime in product [message #495906 is a reply to message #495730] Fri, 06 November 2009 10:13 Go to previous messageGo to next message
Torbjørn G. Dahle is currently offline Torbjørn G. Dahle
Messages: 20
Registered: July 2009
Junior Member
Thanks, but in my product configuration file, I haven't defined any start levels, and "Generate a default config.ini file" is selected. Could something else be causing it?
Re: Have to manually start org.eclipse.runtime in product [message #498321 is a reply to message #495580] Mon, 16 November 2009 08:43 Go to previous message
Torbjørn G. Dahle is currently offline Torbjørn G. Dahle
Messages: 20
Registered: July 2009
Junior Member
For some reason a custom file was defined for the Linux build. This caused the Windows build to get this weird file.
Previous Topic:JavaSourceViewerConfiguration (Java Syntax Highlighting) without JDT
Next Topic:RCP Stop execution of Runnable
Goto Forum:
  


Current Time: Fri Aug 01 04:00:23 EDT 2014

Powered by FUDForum. Page generated in 0.01734 seconds