VisualAge Generator to Enterprise Generation Language Migration Guide


Setting Stage 1 preferences

When you installed the Stage 1 migration tool on VisualAge for Java, the installation process created a sample preferences file called MigPreferences.xml in the directory VisualAge-Java-installation-directory\ide\vgmigration. You should make a copy of the MigPreferences.xml file for backup purposes before you modify any preferences.

You can use a text editor or the GUI editor that is provided with the Stage 1 migration tool to edit the MigPreferences.xml file. To use the GUI editor, do the following:

  1. Start VisualAge Generator for Java.
  2. In the Workbench window, click on the Projects tab.
  3. Navigate to the IBM VisualAge Generator EGL Migration project.
  4. Expand the migration project and then expand the package com.ibm.vgj.mig.
  5. Within the package, select the PreferencesUI class.
  6. Right-click on the PreferencesUI class and then click Properties from the context menu.
  7. Select the Program tab.
  8. On the Program page, specify the following in the Command line arguments field to point the MigPreferences.xml file you want to edit:
    -p filename
    

    where filename is the drive, directory, and file name of your MigPreferences.xml file.

  9. Click on OK to save the properties.
  10. Right-click on the PreferencesUI and then click Run or Run main... (Or you can pick the running man icon from the tool bar.) The Stage 1 GUI preferences editor opens and loads the file that you pointed to in the program properties.

Note:

The preferences you can modify are described in the following sections, based on the page within the GUI in which the preference appears:


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]