Tuesday, December 21, 2010

Restore Deleted files in JDeveloper (No SVN)


I accidentally deleted some files of a project of mine. I could not revert anything because I did not have any version control on them.. I searched everywere, in recycle bin in file System of my windows.. nothing..
However, I managed to discover them under the following path:

C:\Documents and Settings\DStasino\Application Data\JDeveloper\system11.\.history

There are many folders with numbers, every folder holds a history of a file with a date modifed.

The files inside the folder are in raw format. I you open it with some editor you will see the file you might be looking for. So, what I did is to rename and change the file extension and place it back to my project!

That was a great relief...

If anyone knows any more declarative way, please share.


1 comment:

  1. Nice post!
    There is an alternative though :)




Related Posts Plugin for WordPress, Blogger...