TrajiklyHip - Blog - The Personal Blog of Aaron West
The Four Obsessions of an Extraordinary Executive by Patrick Lencioni         The Five Temptations of a CEO by Patrick Lencioni         Getting Things Done by David Allen         The Tin Roof Blowdown by James Lee Burke         The 7 Habits of Higly Effective People by Stephen R. Covey         Books I've recently read and recommend!
March 23, 2007

One of my developers came to me this morning and exclaimed: "Aaron, I hate Eclipse and I hate this project!" I was stunned by the blasphemous language and knew I needed to get more information in order to fully understand the situation. While making great progress on an important piece of code Eclipse completely crashed and he lost all his work. Restarting Eclipse brought his Workbench back but the template he was working on did not include his latest saves. He decided to take a break from the project and work on other tasks

As I explained to him, Eclipse has a built-in history manager that keeps track of all your saves. You determine how long to keep files on your system, the number of saves to track, and the maximum allowable file size for each individual history item. With these settings in place, retrieving previously saved versions of files is simply a matter of right-clicking the file, and selecting Compare With > Local History or Replace With > Local History. Regardless which you choose, Eclipse displays a list of each saved instance of the file including the date and time. You can select any version you want and compare that version to the current version on disk. If you choose Replace With - Local History, you can replace the current version with any previous version from the local history. The Local History is no replacement for source control management, but it's definitely useful in certain situations.

Now, relax, grab a coffee, and get back to work!

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
This has saved my butt a few times!!!
# Posted By Jim Priest | 3/23/07 10:19 PM
Another nifty feature is the 'Restore from local history'. This comes in handy if you accidentally delete one or more files from a directory. You simply right-click on a directory and choose 'Restore from local history...'.

I have found this to be more valuable than restoring a file from local history.
# Posted By Scott Stroz | 3/24/07 10:43 AM
Saved my butt a few times just in the past couple of weeks. Great feature.
# Posted By debedb | 3/25/07 2:24 AM
BlogCFC was created by Raymond Camden. This blog is running version 5.5.005.