Suppress checking for changes on file system in Eclipse RCP

Posted by panschk on Stack Overflow See other posts from Stack Overflow or by panschk
Published on 2010-05-19T13:53:42Z Indexed on 2010/05/20 7:40 UTC
Read the original article Hit count: 189

Filed under:

Okay, I guess this question is too difficult, but it's worth a try.

I have an eclipse RCP application that edits HTML-files. I deal with the content of the files only in a W3C-Dom representation. There is some stuff that I can not do with that, so I the program edits each file each time after it is saved (save, save as). Of course, the file is then out of synch with the file system, and the next time I touch it, eclipse complains: "The file has been changed on the file system. Do you want to replace the editor contents with these changes? (Yes/No)" I do not want to load the changes into the editor ("No")

Maybe there is a way to tell Eclipse programmatically to not check that file for changes, or to configure it to not check for changes on any file?

edit: Everything has to be done either programatically or by editing some XML files. I can not expect the user to do anything;-)

© Stack Overflow or respective owner

Related posts about eclipse-rcp