Chapter 9 Customizing your Modeling Environment
The following variables are created when you install PowerDesigner:
Variable | Description | Default |
---|---|---|
CMD | Windows command interpreter | command.com or cmd.exe |
HOME | Variable defining the default home directory | — |
J2EEVERIF | Batch program for verifying if the deployment jar for an EJB is correct | verifier.bat |
JAR | Command for archiving java files | jar.exe |
JAVA | Command for running JAVA programs | java.exe |
JAVAC | Command for compiling JAVA source files | javac.exe |
JAVADOC | Command for defining JAVA doc comments | javadoc.exe |
You can edit these variables and add your own.
To define an environment variable:
Variables defined here are used in commands in the Generation\Commands sub-category of the JAVA object language, and can be used in the Generation Template Language.
The syntax for using these variables in GTL requires that you add $ before the variable name within the % signs, for example %$CMD%.
For more information about the GTL, see the Customizing Generation with GTL chapter of the Customizing and Extending PowerDesigner manual.
Copyright (C) 2008. Sybase Inc. All rights reserved. |