Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Configuration location
Configuration location [message #555941] Mon, 30 August 2010 10:35
Christian Eugster is currently offline Christian EugsterFriend
Messages: 173
Registered: July 2009
Location: St. Gallen Switzerland
Senior Member

I have exported two RCP (Helios based) products each with an Application.

Product: ch.eugster.colibri.admin.admin
Application: ch.eugster.colibri.admin.application

Product: ch.eugster.colibri.client.client
Application: ch.eugster.colibri.client.application

I merged the two exported products in one directory changing the names of each configuration directory to 'admin', 'client' respectively instead of 'configuration'),

In the client.ini, admin.ini respectively I set the -configuration argument pointing to the config.ini file in the appropriate configuration directory:

-configuration U:\20090925\ColibriTS\Installation\client\config.ini

-configuration U:\20090925\ColibriTS\Installation\admin\config.ini

Starting one of the launchers (client.exe or admin.exe) I get an IllegalStateException saying "Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).

The config.ini files contain the following entries:

#Product Runtime Configuration File
osgi.splashPath=platform:/base/plugins/ min
osgi.bundles=org.eclipse.equinox.simpleconfigurator@1:start lipse.equinox.simpleconfigurator/

#Product Runtime Configuration File
osgi.splashPath=platform:/base/plugins/ ient
osgi.bundles=org.eclipse.equinox.simpleconfigurator@1:start lipse.equinox.simpleconfigurator/

Running with -debug shows that my argument -configuration in the launcher.ini file is ignored. It is listed in the list of arguments but the launcher seems to look only for a configuration directory in the installation directory.

How can I configure the Installation that the launcher looks up the config.ini in the customized directories?

Thank you in advance!

Previous Topic:Adding a popup menu to each page of a CTabFolder
Next Topic:How to add validation to XMLMultiPageEditorPart?
Goto Forum:

Current Time: Sun Jun 24 18:56:47 GMT 2018

Powered by FUDForum. Page generated in 0.01746 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top