Copy the default template set

Create a new template set from which applications can be generated.

  1. Copy the entire content of the template directory (for example, GSTDIR/gst/bin/src/ag/tpl/dbapp) to a new directory. The new template directory could be a common one on the server or it could be part of the entire versioned project.
    You may also create a new empty directory to which you can add the template files one at as time as you create them.
    Note: Ensure that you have write access to the new directory.
  2. Determine which configuration you want to use to run your generated applications. Select the configuration. Then, select Tools > Genero Configurations.
  3. Find and select the Template Environment Set. Deselect the check box to deactivate the old template.
  4. Make a copy of the Template environment set using the Duplicate action in the integrated Toolbar.
  5. Rename your template environment if you wish by right-clicking on it and selecting Rename.
  6. Select your template environment set. Notice that there are environment variables set.
  7. Modify GSTSETUPDIR. Double-click GSTSETUPDIR in the list and modify the Value to point to the location of your template files.
  8. Select OK.
  9. In the Environment Sets list, select the check box for your environment set.

    Figure: Select new environment set


    Setting new environment set

Now you can customize the files that you copied into the new directory. Keep the same file names as the default template set. All your programs will be generated with these files; the default files will be ignored.