The operating systems that Rational Team Concert source control supports observe different conventions for writing line delimiters in text files. Utilities and applications on Linux and the UNIX operating systems normally terminate lines with a single <LF> (line feed, or new line) character; Windows utilities and applications terminate lines with a two-character <CR><LF> (carriage return, line feed) character sequence.
Differences in line-delimiter conventions can create problems in text files that are edited on computers that run different operating systems. For example, a file that contains
abc
def
ghi
Would look like the following example if it were created by a Windows editor such as Notepad and read by a Linux or UNIX system-based editor such as vi:
abc^M
def^M
ghi^M
The text editor on the Linux or UNIX system renders the <CR> character as ^M. The same file would look like the following example if it were created by the system editor on Linux or the UNIX system and read by the Windows editor:
abc def ghi
By default, when you share a project or check in a new file, Rational Team Concert source control examines the content and sets the line delimiter property of the file to the value Platform. (If the file is a binary file or has an inconsistent set of line delimiters, its line delimiter property is set to none (binary).) When you load a file with Platform line delimiter property into a sandbox, Rational Team Concert source control determines the MIME content type of the file and sets the line delimiter to match the platform convention for that content type.
Rational Team Concert source control includes a file properties wizard that you can use when you must change the line delimiter property of one or more files or specify a line delimiter convention to apply to a category of files (based on file name suffix). For more information, see Using the File Properties wizard.
Watch videos CLM playlistJazz.net channel User Education channel |
Learn more CLM learning circleAgile learning circle Learning circles |
Ask questions Jazz.net forumdeveloperWorks forums |
Get support Support PortalDeployment wiki Support blog |