Setting generation preferences
To specify preferences for EGL generation, follow these steps:
- From the main menu, click .
- From the navigation tree, expand EGL and click Generation.
- In the Generation window, you can set the following preferences:
- If necessary, invoke a build before generating output
- If you select this check box, EGL builds the project automatically prior to generation if it has not been built since the last change. This preference takes effect only when the workbench is not set to build the project automatically.
- Perform debug generation on build
- If you select this check box, which is selected by default, then the necessary build for the debugger occurs when the EGL source file is saved. Typically, users want this build to occur. However, in the case of headless Ant builds or possible performance concerns, turning this preference off prevents the build for the debugger from happening. If the debugger is subsequently used with this preference turned off, then the internal information that the debugger uses is stale and unpredictable results occur.
- Delete generated files during project clean
- If you select this check box, which is off by default, then during a project clean, all files (except the .properties files) and any resulting empty directories are deleted from the EGLGen directory. The .properties files are not deleted because the user might have modified them. This ensures that the generated files are kept up-to-date.
- Generate after build
- Specify one or more of the following generation options:
- COBOL
- Java™
- JavaScript™
- Security credentials for generation on a remote machine
- If you are generating code to a computer other than this one, specify the user ID and password for the computer on which the generated code is saved. These fields behave like default values for the destUserID and destPassword build descriptor options. The values of these build descriptor options take precedence over the settings in the Preferences window.
- Click Apply to save the changes and remain in the Preference window. Click OK to save the changes and exit the window.