| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| <html lang="en"> |
| <HEAD> |
| |
| <meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2011. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." > |
| |
| <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> |
| <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> |
| <LINK REL="STYLESHEET" HREF="../book.css" CHARSET="ISO-8859-1" TYPE="text/css"> |
| <title>Setting local history preferences</title> |
| <script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js" type="text/javascript"> </script> |
| </HEAD> |
| |
| <BODY BGCOLOR="#ffffff"> |
| <H1>Setting local history preferences</H1> |
| |
| <p>To indicate the level of local history that should be kept for |
| each resource in the Workbench: |
| </p> |
| |
| <ol> |
| <li>Open the |
| <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.ui.preferencePages.FileStates)")'> |
| <img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg" alt="command link"> |
| <b>General > Workspace > Local History</b></a> preference page.</li> |
| <li>In the <b>Limit history size</b> field, specify whether you want |
| to limit the local history size using following options.</li> |
| <li>In the <b>Days to keep files</b> field, type the number of days that you |
| want to keep records for any one Workbench resource. For example, if you type |
| 7, then a history of saved states from the last seven days will be kept.</li> |
| <li>In the <b>Maximum entries per file</b> field, type the number of states to keep |
| for any one Workbench resource. Note that when you exceed the number of |
| entries per file, the oldest changes are discarded to make room for the newer |
| changes.</li> |
| <li>In the <b>Maximum file size (MB)</b> field, type the maximum file size (in |
| MB) of a resource for which a local history should be kept. If |
| the size of the resource exceeds the maximum amount of file size allocated, |
| no local history is kept for that resource.</li> |
| <li>Click <b>OK</b> to set your preferences and close the Local History Preferences page.</li> |
| </ol> |
| |
| <p><img border="0" src="../images/ngrelc.png" alt="Related concepts" ><br> |
| <a href="../concepts/concepts-17a.htm">Local history</a><br> |
| <a href="../concepts/concepts-27.htm">Versions</a><br> |
| <a href="../concepts/concepts-12.htm">Resources</a> |
| </p> |
| |
| <p><img border="0" src="../images/ngrelt.png" alt="Related tasks" ><br> |
| <a href="tasks-70.htm">Comparing resources with the local history</a><br> |
| <a href="tasks-87.htm">Replacing a resource with local history</a><br> |
| <a href="tasks-87b.htm">Restoring deleted resources from local history</a> |
| </p> |
| |
| |
| |
| </BODY> |
| </HTML> |