For all examples, you must create a new template set from which applications can be
generated.
Copy the entire content of the template directory (for example,
$GSTDIR/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 a
time as you create them.
Note:
Ensure that you have write access to the new directory.
Select the configuration you want to use to run your generated applications. For more
information go to Change the active configuration.
Select Tools > Genero Configurations.
Find and select the Template Environment Set. Deselect the check box to
deactivate the old template.
Make a copy of the Template environment set using the
Duplicate action in the integrated Toolbar.
(Optional) To rename your template environment, right-click on the template and select
Rename.
Select the new template environment set. Notice that there are environment variables set.
Double-click GSTSETUPDIR in the list and modify the
Value to point to the location of your template files.
Select OK.
In the Environment Sets list, select the check box for your environment
set.
Go to the template directory and open the project file, for example,
libdbapp.4pw.
Right-click on the application node and select Rebuild All.
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.