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.
|
Accepted answer
![]()
Shashikant Padur (4.3k●2●7)
| answered Nov 08 '16, 10:30 p.m.
JAZZ DEVELOPER edited Nov 08 '16, 10:33 p.m.
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
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
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.