Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Is there a way to get FILE properties out of the RTC server?

 I'm looking for file properties, like the file encoding, line endings, and binary status.  Access to custom tags would be idea.  Looking for a command line interface to enable us to work with several files...

I'm obviously searching in the wrong location for help so thought I'd ask before I give up :-(

Reason I'm looking for this information is to validate a set of files has the correct settings.  There are several dozen, if not hundreds to check.

Optionally, being able to update them would be great.

0 votes


Accepted answer

Permanent link
The scm command line has the 'scm show properties <files>' command that lists the standard properties as well as user set properties. 'scm get property <key> <files>' gets a specific property value and 'scm set property <key> <value> <files>' sets a property.

For ex:
$ scm show properties plugin.xml
<absolute path of plugin.xml>
  jazz.encoding       - UTF-8
  jazz.executable     - false
  jazz.line-delimiter - Platform
  jazz.mime           - application/xml
  jazz.read-access    - Component scoped
  local.encoding      - UTF-8
Kevin Hoyt selected this answer as the correct answer

0 votes

Comments

This will get the jazz.* properties.  


To get the custom property I needed to use the 'get property' command.

Bottom line, I can get what I need.

Thank you for the help!

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019

Question asked: Nov 08 '16, 2:56 p.m.

Question was seen: 1,586 times

Last updated: Nov 09 '16, 10:55 a.m.

Confirmation Cancel Confirm