Configuration location [message #555941] |
Mon, 30 August 2010 10:35 |
Christian Eugster Messages: 203 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!
|
|
|
Powered by
FUDForum. Page generated in 0.03253 seconds