문제

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"?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top