It's all about the answers!

Ask a question

How do I get RTC file types to be LF or CRLF instead of Platform when importing from ClearCase?


Glenn Bardwell (57621327) | asked Jul 30 '12, 10:08 a.m.
JAZZ DEVELOPER
edited Jul 30 '12, 2:23 p.m. by Geoffrey Clemm (30.0k23035)
How do I get RTC file types to be LF or CRLF instead of Platform when importing from ClearCase?

Accepted answer


permanent link
Glenn Bardwell (57621327) | answered Jul 30 '12, 10:10 a.m.
JAZZ DEVELOPER
edited Jul 30 '12, 2:22 p.m. by Geoffrey Clemm (30.0k23035)
The LINE_DELIMITER_WORKSPACE setting used by the synchronizer, that is the part of the code that copies the files from CC to RTC.
From support.

It is possible to end up with line ending of LF in RTC.
To do this I needed to break up the steps as follows

Step1: Run the wizard to create the sync stream, but uncheck the "start Jazz Synchronization Engine" option.
Step 2: Select the files to be synced.
Step 3: Use the sync stream properties editor to change the setting of  LINE_DELIMITER_WORKSPACE to LF or CRLF  as desired.
Step 4: Start the Jazz Synchronization Engine for this sync stream..
Step 5: After import goto the files imported .
Right click properties, select Jazz source control
The value should be LF.

Binary files are not LF. The code is smart enough to distinguish.
Geoffrey Clemm selected this answer as the correct answer

Your answer


Register or to post your answer.