ADTF  3.18.2
Environment variables

In the System Editor of ADTF Configuration Editor you can define environment variables which will be used and resolved by the CE to setup your whole ADTF System definition including session, graph and property files.

The adtf::services::ant::IMacroResolver provided by ADTF Launcher will resolve it later during runtime - so your setups can be adapted by environment variables on different machines.

You can use these variables recursive

MY_TOOLBOX = C:/adtf/my_toolbox
MY_TOOLBOX_PLUGINS = $(MY_TOOLBOX)/bin
Namespace for entire ADTF SDK.

The ADTF Configuration Editor can automatically use these macros by:

  • adding a Plugin paths
  • using in Filter and Service properties

In file dialogs you can see the "M"-Button this button use the list of environment variables to replace a path with the best matching path.

If you want to make the configuration editor use OS environment variables set "<os>" as variable.

MY_TOOLBOX = <os>
Warning
The environment variable value "<os>" is case sensitive and must be lower case

Now you can set the OS environment variable "MY_TOOLBOX" before you start ADTF Launcher. This is recommended if e.g. some plugin paths are different on different machines, so the ADTF Configuration Editor will use this variable name for path settings in system file.