Environment Variables

Environment variables provide access to paths and executables on your workstation for use in generation commands and GTL templates. To review and edit variables, select Tools > General Options, and click the Variables category in the left pane.

Click in the row of an existing variable in order to edit its value. To create a new variable, click the Add a Row tool and specify a name and value. The following variables are defined by default:

Variable

Description

CMD

Windows command interpreter.

Default: command.com or cmd.exe

HOME

Home directory.

J2EEVERIF

Batch program for verifying if the deployment jar for an EJB is correct

Default: verifier.bat

JAR

Command for archiving java files

Default: jar.exe

JAVA

Command for running JAVA programs

Default: java.exe

JAVAC

Command for compiling JAVA source files

Default: javac.exe

JAVADOC

Command for defining JAVA doc comments

Default: javadoc.exe

Note: To use a variable in GTL (see Customizing and Extending PowerDesigner > Customizing Generation with GTL ), prefix it with a dollar sign, and wrap it in percent signs. For example, %$CMD%.