Reputation: 262584
Eclipse has the very nifty "Compare with Local History" feature which lets you compare all files in the workspace against previous revisions. This is very useful to recover older versions even when they are not in a source control system, and it works because Eclipse keeps snapshots of all files when you save them.
Eclipse (by default) keeps up to one week, up to fifty changes and up to 1 MB of snapshot data per file.
On a Mac, you also have the Time Machine backups, which snapshot every file once per hour, keeping hourly snapshots for a day, daily snapshots for a month, and weekly snapshots until you run out of disk space.
Is there an Eclipse plugin to make use of the Time Machine data for local history beyond the copies that Eclipse stores?
Upvotes: 3
Views: 700
Reputation: 2167
No there doesn't seem to be, and there are relatively few mac-specific plugins. Your choices are basically to use the built-in functionality to restore your whole workspace (pain) or use the built-in functionality as is.
This is similar to the choices you'd have for VMWare snapshots.
Upvotes: 1
Reputation: 20227
Well the local history of eclipse is stored in the .metadata directory of your workspace, so technically you could go back to a former version of your whole workspace with the Time Machine. Not sure if that's what you really want, though.
However the amount that eclipse stores is configurable in the preferences. So I suggest you just pick whatever you feel you need there.
Upvotes: 0