icegrid xml environment variables

area51area51 Member Wout BettensOrganization: Key Technology (Visys) - BelgiumProject: Machine session management
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

Comments

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    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.
  • area51area51 Member Wout BettensOrganization: Key Technology (Visys) - BelgiumProject: Machine session management
    Ok, I will keep this in mind...

    Thank you for your reply!
Sign In or Register to comment.