William Ellis
William Ellis

Reputation: 106

What default file properties are selected by the RTC SCM command line client?

RTC (Rational Team Concert) provide a "source control command-line interface (CLI)", where the basic command is 'scm'.

We're currently using version "6.0.2" on Linux (64 bit).

Where a file is added into RTC, it acquires a set of associated properties, such as: jazz.executable, jazz.mime, jazz.read-access, jazz.encoding, jazz.line-delimiter. My primary interest is the "jazz.line-delimiter".

I know that I can modify the default file properties through a "magic.properties" file: https://www.ibm.com/support/knowledgecenter/SSYMRC_5.0.2/com.ibm.team.scm.doc/topics/t_magicproperties.html

But... what is the default?

I've seen this mentioned, but not really explained, on IBM web help:

Upvotes: 1

Views: 479

Answers (1)

VonC
VonC

Reputation: 1328192

But... what is the default?

One possible way to see the default for a given file would be to:

That is:

scm show prop -r ella abc10.txt
D:\Trash_Testing\Ella\abc5\abc10.txt
  jazz.encoding       - Cp1252
  local.encoding      - Cp1252
  jazz.executable     - false
  jazz.line-delimiter - Platform
  jazz.mime           - text/plain
  jazz.read-access    - Component scoped

From scm cli on properties:

jazz.line-delimiter

Indicates the line delimiter. May be one of:

  • platform – Indicates that the file should be given the platform-specific line delimiter on load/accept.
  • none – Indicates that the file should not have its line delimiters changed on load/accept.
  • crlf – Indicates that the file should always have Windows-style line delimiters.
  • lf – Indicates that line-feeds should be used as line delimiters.
  • cr – Indicates that carriage returns should be used as line delimiters.

Upvotes: 0

Related Questions