(→Dynamic Environment Variables)
|
(→Add Files to Agent's /bin Directory)
|
Line 63: | |||
#Create setenv file. In a text editor, create the setenv.bat file if the agent is running on Windows or setenv.sh file if the agent is running on a UNIX-like system. Save it to the agent's /bin directory. | #Create setenv file. In a text editor, create the setenv.bat file if the agent is running on Windows or setenv.sh file if the agent is running on a UNIX-like system. Save it to the agent's /bin directory. | ||
##You will need to have the shell script read the environment variables and then writes them out to the env.properties file. The script should be similar to this example below: | ##You will need to have the shell script read the environment variables and then writes them out to the env.properties file. The script should be similar to this example below: | ||
- | ##<font style=monospace>echo DYNAMIC_ENV_VAR=value > env.properites</font> | + | ##<font face=monospace>echo DYNAMIC_ENV_VAR=value > env.properites</font> |
###Note that the env.properties cannot reference other environment variables such as ''PATH=%PATH%'';..., etc. | ###Note that the env.properties cannot reference other environment variables such as ''PATH=%PATH%'';..., etc. | ||
###AnthillPro requires the variables to be set using this exact pattern. | ###AnthillPro requires the variables to be set using this exact pattern. |