Setting EGL-to-EGL migration preferences

You can set preferences that control how the EGL V6.0 migration tool converts EGL source code. For more information about the migration tool, see EGL-to-EGL migration. Set the preferences for the migration tool as follows:

  1. Click Window > Preferences.
  2. Expand EGL.
  3. Click EGL V6.0 Migration Preferences.
    Note: If you can not find EGL V6.0 Migration Preferences, enable the EGL V6.0 Migration capability. See Enabling EGL Capabilities.
  4. Choose how to resolve a naming conflict with a new reserved word by clicking a radio button:
    • Add prefix sets the migration tool to add a prefix to any words in the source code that are now reserved words. In the text box by this radio button, type the prefix you would like the migration tool to add to the changed word.
    • Add suffix sets the migration tool to add a suffix to any words in the source code that are now reserved words. In the text box by this radio button, type the suffix you would like the migration tool to add to the changed word.
  5. To add a qualifier to the values of properties that have a finite list of possible values, select the Add qualifiers to enumeration property values check box. If this box is checked, the migration tool will add the type of value to the value name.
  6. To add comments to the files changed by the migration tool, choose an option under Logging Level.
    • Add comments to all files processed by the migration tool sets the migration tool to add a comment to each file it processes, even if it makes no changes to that file.
    • Add comments to all files that are changed by the migration tool sets the migration tool to add a comment to only the files it changes.
    • Do not add comments to files sets the migration tool to not add any comments to the files it processes.
    • Add to beginning of file sets the migration tool to add comments to the beginning of files.
    • Add to end of file sets the migration tool to add comments to the end of files.
  7. To write a list of the processed files to the file named V60MigrationLog.txt, select the Append migration results to log file per project check box.
  8. Click Apply.
  9. Click OK.

Related tasks
Enabling EGL capabilities
Migrating EGL code to EGL V6.0 iFix

Related concepts
EGL-to-EGL migration

Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.