I need to integrate some source code from ClearCase(CC) to RTC, but some how some xml files were changed after checked into RTC. These files contains the same content with the original ones from CC, but the endcoding was changed. For example, a xml file encoded by Unix will be changed to Dos after checked into RTC.
I don't know if it will cause any impact to the project, maybe this problem can be ingonred. But I prefer to keep the code what they look like from CC. Is there any way to do that? Don't know where to config about that.
As mentioned in this thread, it is because ".xml
" files have the property "Line Delimiter
" set to "Platform
". This is an RTC default.
The line delimiter of a file that is under version control is a version-controlled property in the RTC repository.
The part that is a client-side configuration is the rule that specifies what the line delimiter should be for a new file being put under version control for the first time.
So the issue is: you cannot version the eol style you would want: this is a local properties defined by the client (here the Eclipse RTC GUI), managed by the File Property Wizard.
The general issues are:
The settings are described here:
Window
> Preferences
and navigate to Team > Jazz source control
File Properties
page, you can view how Rational Team Concert source control currently maps file name suffixes to MIME content types and line delimiters.Add File/Extension
.OK
to save your changes and exit.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With