Defining Local History Preferences

The Eclipse platform includes a Local History feature which maintains copies of saved files. These copies are maintained only in your workspace. The Local History feature provides a recovery file on your local file system for work not yet committed to source control, and you can use this feature to complement your source control system.

Note:

Oracle does not recommend using the Local History feature for primary backup, as it is subject to media failure and is coupled to a specific workspace.

You define preferences for the Local History functionality. For example, Oracle recommends that you change the default settings to define a longer retention period for added security.

To define Local History preferences:

  1. From the Design Studio Window menu, select Preferences.

    The Preferences dialog box appears.

  2. Select General, then select Workspace, and then select Local History.

    The Local History preferences page appears.

  3. Select Limit history size.

  4. In Days to keep files, enter 28.

    Increasing the value in this field to 28 enables recoveries even after extended work stoppages (for example following vacations). Oracle recommends, however, that you check changes into source control regularly.

  5. In Maximum entries per file, enter 50.

  6. In Maximum file size (MB), enter 1.

  7. Click OK.

For more information about the Local History feature, see the Eclipse Help.