When you open a set of propertiy files to edit with RBE, and you make some changes, RBE will rewrite the whole propertiy files (in order to reorder the entries, format them as needed, etc.). It would be nice to disable such a behaviour.
However, the real problem here is that entries in the propertiy files are rewritten by using the current platform default text file line delimiter, instead of keeping the original one. That is, if I open a properties file in which the Unix text file line delimiter is used (\n) in my system (Windows), the file is rewritten and changed so that all key/value pairs are separated using the Windows text file line delimiter (\r\n). This causes problems when working with source code shared within teams with heterogeneous systems, because it can generate a lot of (apparent) file conflicts.
I think RBE should keep on using the text file delimiter used by the file once opened. If it's too much a problem to make such a detection, I think it should use the Eclipse project preference called "New text file line delimiter" to choose the correct line delimiter to use. In fact, this property can be shared in the SCM repository together with the project itself.
Log in to post a comment.