Editing cwide-env file

The cwide-env file is a file that is read by the cwide.exe, cwidec.exe, and ecd.exe tools. The cwide-env file allows you to customize the list of environment variables of the java process that is created by these tools to run the Eclipse IDE.

The format of the cwide-env file follows the syntax as shown below.

<environment variable name>= <command> <value> ;

where

The expression can contain macros of the syntax %VAR%, which will be expanded before the environment variable is set.

The cwide-env file can also include other files to be passed as cwide-env files by adding a line with the following syntax.

-include <file name>

Note: The changes to the environment variable list only affect the java process created by the cwide.exe, cwidec.exe, and ecd.exe tools.

The content of a sample cwide-env file is shown below.

PATH= -prepend %CD%../MCU/bin;
LM_LICENSE_FILE= -prepend %CD%../MCU/license.dat;
CW_DE_SWITCHES= -prepend -ORBthreadPerConnectionPolicy 0 -ORBconnectionWatchImmediate 1 -ORBthreadPoolWatchConnection 5
MCU_ProductDir= -add %CD%../MCU
MCU_TOOLS_HOME= -add %CD%../MCU
PA_TOOLS_HOME= -add %CD%../MCU
CW_SA_HOME= -add %CD%../MCU/morpho_sa/sasdk/data/fsl.configs.sa.searchpath
FLEXLM_BATCH= -add 1
CROSS_TOOLS_HOME= -add %CD%../Cross_Tools
ARM_GNU_TOOLS_HOME= -add %CD%../Cross_Tools/arm-none-eabi-gcc-4_7_3