Configuring Sun Master Indexes (Repository)

Maintaining Version Control in the Master Index (Repository) Configuration Files

When modifying the XML files directly, be sure to maintain version control by checking files out before you modify them and then checking them back in when you are finished. The Configuration Editor supports version control for the XML configuration files. You can manually check the master index configuration files in and out of the Repository, or you can let the Configuration Editor perform version control for you when you open and close the editor.

Checking Configuration Files Out With the Configuration Editor-Repository

If you access the Configuration Editor-Repository when all of the configuration files are already checked out, the Configuration Editor opens immediately. If any of the configuration files are checked in, a dialog box appears that allows you to choose whether to check out and open the files in edit mode or to open the files in view-only mode without checking them out.

Checking Configuration Files In With the Configuration Editor-Repository

After you modify properties in the Configuration Editor, click Save in the Configuration Editor toolbar to save the configuration files to the work space. This does not check the files back in to the Repository. To check the files in, you need to close the editor.

ProcedureTo Check Files In

  1. When you are done making changes, click the Close icon in the upper right corner of the Configuration Editor.

  2. If there are any unsaved changes, a confirmation dialog box appears. Click Yes to save the changes.

    The Check In dialog box appears.

  3. Do one of the following:

    • To close the editor without checking in the files, click Cancel.

    • To check in the files and close the editor, enter a check-in comment and then click Check In.

      The dialog box and editor close and the files are checked in.


      Note –

      If you close the Configuration Editor without making any changes, a dialog box gives you the option to undo the checkout of the configuration files instead of checking them back in at a new revision level.