Archived
This forum has been archived. Please start a new discussion on GitHub.
icegrid xml environment variables
Hi,
Is it possible to use environment variables inside an icegrid xml file to define the server's exe, pwd, and maybe some other settings?
I've already tried to work with <env>...</env>, but that doesn't seem to substitute the values either.
<node name="UnixBox">
<server id="UnixServer" exe="$ENV_SERVICE_EXE" pwd="$ENV_SERVICE_PWD" ...>
...
</server>
</node>
Thanks in advance,
Wout
Is it possible to use environment variables inside an icegrid xml file to define the server's exe, pwd, and maybe some other settings?
I've already tried to work with <env>...</env>, but that doesn't seem to substitute the values either.
<node name="UnixBox">
<server id="UnixServer" exe="$ENV_SERVICE_EXE" pwd="$ENV_SERVICE_PWD" ...>
...
</server>
</node>
Thanks in advance,
Wout
0
Comments
-
Hi,
You can only use use environment variables in the server <env> XML element. These environment variables are substituted on the IceGrid node when the server is activated. So it's not possible to use environment variables in other XML attributes or elements such as the exe or pwd parameter.
Cheers,
Benoit.0 -
Ok, I will keep this in mind...
Thank you for your reply!0