Showing deleted file from local history [message #326166] |
Mon, 10 March 2008 09:16 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: chandra.mayamuthu.gmail.com
Hi All,
I need to show the deleted files from local history after deleting the
file physically in the file system.
I have RCP application, in which I will be doing the following,
----------------------------------
1. have some list of files in the project.
2. close the workbench
3. delete some of the files externally (in file system)
4. re-launch the application,
5. the deleted files should be restored from local history
----------------------------------
Please guide me to restore the deleted files programmatically from local
history.
Thanks,
Chandra M
|
|
|
Re: Showing deleted file from local history [message #326172 is a reply to message #326166] |
Mon, 10 March 2008 12:38 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: merks.ca.ibm.com
Chandra,
From what I understand about this, only by using the Resource APIs to
modify (delete/write) a resource are the old contents backed up in the
local history. If you delete underlying resource directly from the file
system I don't think there will be a backup copy of it anywhere.
Chandra wrote:
> Hi All,
> I need to show the deleted files from local history after deleting
> the file physically in the file system. I have RCP application, in
> which I will be doing the following,
> ----------------------------------
> 1. have some list of files in the project.
> 2. close the workbench
> 3. delete some of the files externally (in file system)
> 4. re-launch the application,
> 5. the deleted files should be restored from local history
> ----------------------------------
>
> Please guide me to restore the deleted files programmatically from
> local history.
>
> Thanks,
> Chandra M
>
|
|
|
Powered by
FUDForum. Page generated in 0.03203 seconds