Rule Builder > Managing Repositories > Working With Repositories > Migrating a Repository

When you open a previous version of a repository in the Rule Builder, it is not automatically migrated. You can migrate any previous version of a JRules repository, but to do this you need the Repository Migration plug-in installed.

For BAL rules, only a conversion to a more recent BAL grammar is done, if one exists. For example, BAL4.0 will be migrated to BAL4.6.

Translations in the BOM remain as they are. This means that if you have written a method translation that uses a bind (which is a deprecated IRL keyword), the IRL generated from the BAL rule will always use this deprecated bind. In this case, you must modify your translation by hand to avoid deprecation warnings when executing the rules.

To migrate a repository:

  1. Open the repository you want to migrate in the Rule Builder.
  2. Click Migrate Current Repository on the File menu.
  3. The Migrate Repository dialog box opens displaying the operations that will be carried out, see Figure 3.8.

  4. images/migrate_repository.png
  5. Figure 3.8    Migrate Repository Dialog Box
  6. Click OK to migrate the repository or Cancel to abandon the operation.
  7. You are notified when the migration is complete.

See Also

Installing and Uninstalling Plug-ins


Customer Support | Copyright © 1987-2004 ILOG S.A. All rights reserved. Legal terms. PREVIOUS   NEXT