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: 134
Registered: July 2009
Location: St. Gallen Switzerland
Senior Member
Hi,

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:

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

admin.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:

admin/config.ini
#Product Runtime Configuration File
eclipse.application=ch.eugster.colibri.admin.application
osgi.bundles.defaultStartLevel=4
eclipse.product=ch.eugster.colibri.admin.admin
osgi.splashPath=platform:/base/plugins/ch.eugster.colibri.ad min
osgi.bundles=org.eclipse.equinox.simpleconfigurator@1:start
org.eclipse.equinox.simpleconfigurator.configUrl=file:org.ec lipse.equinox.simpleconfigurator/bundles.info

client/config.ini
#Product Runtime Configuration File
eclipse.application=ch.eugster.colibri.client.application
osgi.bundles.defaultStartLevel=4
eclipse.product=ch.eugster.colibri.client.client
osgi.splashPath=platform:/base/plugins/ch.eugster.colibri.cl ient
osgi.bundles=org.eclipse.equinox.simpleconfigurator@1:start
org.eclipse.equinox.simpleconfigurator.configUrl=file:org.ec lipse.equinox.simpleconfigurator/bundles.info

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: Thu Dec 18 23:49:58 GMT 2014

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

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