How do I get my application to read the app-defaults file?

Many users are confused on how to connect their app-defaults file to their application. To get your application to pickup your app-defaults file, you need to take the following steps:

  1. Set the name for the app-defaults file in the File Names tab of the Main Window->Options->Code Generation Preferences.
  2. In the Application Tab of the Code Generation Preferences, make the Application Class match the name of the app-default file you set in #1.
  3. Set the XUSERFILESEARCHPATH to include the location of the app-defaults file. For example, the following shell command (or the equivalent one for your choice of shell) will set this variable correctly:
    %export XUSERFILESEARCHPATH=$XUSERFILESEARCHPATH:./%N%S

Category: