Specifying line termination characters for text files

The default line termination character for text files (files with MIME content-type "text") that are imported into a synchronized stream depends on the platform on which you are importing.

About this task

The default terminator is line-feed (LF) on Linux platforms, and carriage-return line-feed (CRLF) on Windows platforms. You can change this default, if necessary.

The LINE_DELIMITER_WORKSPACE property is used to specify the line delimiter for all text files synchronized from Rational ClearCase: The value can be changed by setting the stream's ClearCase provider property to one of the following values:

PLATFORM
LF
CRLF

The LINE_DELIMITER property is also used to specify the line delimiter for text files synchronized from the Jazz repository toRational® ClearCase®. The default is LF, but it can be changed to CRLF.

To change the value of the LINE_DELIMITER_WORKSPACE or LINE_DELIMITER property:

Procedure

  1. Open the ClearCase Synchronized Streams view.
  2. Right-click a synchronized stream in the table and click Properties.
  3. In the Properties editor, select ClearCase Provider Properties.
  4. In the Initialization arguments for this provider area, click the LINE_DELIMITER_WORKSPACE or LINE_DELIMITER property, as appropriate, and change its value.

What to do next

For information about how Rational Team Concert™ source control determines line delimiters, see Specifying file properties and line delimiter types.


Feedback

Did this help? You can provide feedback at Jazz.net (registration required): Comment in the forums or submit a bug