Question

Is there any way to tell Subclipse to ignore changes made to a particular file?

I have a config XML file that exists in SVN but that I need to tweak locally for my machine. But thanks to that one file, the entire package is marked with the little * icon telling me I have changes in that project, which is a nuisance. Is there a way to tell Subclipse some version of "Yeah, that file's supposed to be out-of-synch with the repository, don't worry about it"?

Was it helpful?

Solution

Once a file is versioned, it cannot be ignored. What a lot of people do is use template files, such as file named foo.xml.in or foo.tmpl. Then you version control that file and use some process to create the foo.xml file from the template. The foo.xml file is then ignored so you can change it at will.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top