Archived

This forum has been archived. Please start a new discussion on GitHub.

Setting Properties on the command line

In the manual I read on the page 722 (Ice-3.1.1.pdf):

Any command line option that begins with -- and is followed by one of the
reserved prefixes (see page 720) is read and converted to a property setting when
you create a communicator. Property settings on the command line override
settings in a configuration file.

Its a very nice feature:) Now I would like to have the same for the properties defined by me:D Any possibility to achieve that?

I tried to give the reserved prefixes to my properties. That worked. They were automatically recognized and the values in the configuration file were overwritten by the values on the command line. But in the manual is written that I am not allowed to use reserved prefixes. And if I do, I get additionally warning messages when I start the program.

But is there another possibility?

Comments