Is there a way to set osgi.configuration.area programmatically at startup? [message #115264] |
Fri, 25 July 2008 07:25 |
Eclipse User |
|
|
|
Originally posted by: a.heikhaus.cenit.de
Hi,
one of our customer has the following requirement: He wants to provide all important informations (also the URL for the configuration area) for his rcp-app in windows-registry. Background is, that he can change and distribute this information very simple and fast via Active Directory. Therefore I want to know if it is possible to set the configuration area programmatically? And if possible: How to do that?
Thanks
André
|
|
|
|
Re: Is there a way to set osgi.configuration.area programmatically [message #115471 is a reply to message #115316] |
Mon, 28 July 2008 11:46 |
Eclipse User |
|
|
|
Originally posted by: a.heikhaus.cenit.de
> How do you read the Windows registry and pass it to
> your RCP app? If you
> are using a custom launcher you could simply pass a
> property to the VM
> when starting your RCP app.
Thanks for your response. But I think I can not do it like you told me: I need to set that dynamically before launching my rcp - app. What´s your understanding of "Custom launcher"? For me a custom launcher is a custom configuration of launch arguments in my ECLIPSE IDE to start my rcp - app. In that context I have no chance to integrate programmatically. (e.g. reading the Windows registry) Or may be I have?
For the moment it seems to me that the only way to handle my aims is to start a script that reads the Windows registry, then sets the .ini-file and finally calls my rcp-app-.exe.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03341 seconds