tempDirectory
The tempDirectory build descriptor option
specifies the location where EGL places two different kinds of temporary
files:
- If you are generating with the EGL SDK, EGL uses this option to place the Intermediate Representation (IR) files that it creates.
- When you are generating a VGWebTransaction program or VGUIRecord into a web project, the option identifies the directory in which to store the JSP files.
To remove the IR files from the temporary directory both before and after generation, set the -clean option in the EGLSDK command.
Web transactions
EGL creates the name of each JSP file in the directory identified
by tempDirectory in the following way:
recordAlias.jsp- recordAlias
- The name of the VGUI record or (if an alias is specified) the alias for that record.
The tempDirectory build descriptor option is used only when a JSP file of the same name is in the WebContent\WEB-INF directory of the project to which output is generated.
If you do not specify a value for tempDirectory and
if a JSP file with the name recordAlias.jsp is already in the
directory WebContent\WEB-INF, the following statements apply:
- The new JSP file is stored with the following name, in the directory
WebContent\WEB-INF:
newrecordAlias.jsp - Subsequent generations of the same UI record override the file newrecordAlias.jsp
A benefit of receiving the most recently generated JSP file is that you can copy and paste snippets of that file into the JSP file that you customized earlier. If you did not specify a value for tempDirectory, however, you should remove the file newrecordAlias.jsp from the web project before deploying that project.
You use the genProject build descriptor
option to direct output to a web project. If you use the genDirectory build
descriptor option instead, the effects are as follows:
- Output goes into a directory instead
- The tempDirectory build descriptor option has no effect
- The prefix new is not in the name of the generated JSP file
- A generated JSP file overwrites any same-named file in the directory