|Re: How can I make configurable my RCP App? [message #638607 is a reply to message #636922]
||Thu, 11 November 2010 18:50
| Heiko Ahlig
Registered: July 2009
inside your productfile you can use the launching arguments
for defining your url or configfile location
use the program argument which you can check inside your app with
org set a vm argument
Both will be written to your client.ini , so that you can change it quick.
But you should have a backup conf inside your jars, that comes up if
your argument dosent work ( missing file or so on).
Hope it helps you
Am 03.11.2010 12:39, schrieb moley harey:
> Hello folks,
> I have and RCP application that I would like to make configurable on
> For example when my App is launched, it has to connect to a given url to
> get some information, so I would like to have a local configuration file
> that once I generate the executable of my App I can make the url
> manually configurable.
> The problem I had found is that once I generate my executable with the
> corresponding .product file, all files get "bundled" and I have no
> access to my config file, i.e., I cannot manually edit the file to put
> the url I need depending on the environment.
> Any on how can I do this? How are you implementing configurable Apps
> using RCP?
Powered by FUDForum
. Page generated in 0.01569 seconds