Versioned Settings: Kotlin vs XML

Hey erveryone,

i am evaluating versioned settings in TeamCity and came to the question wether to use XML format or Kotlin format but couldn't find much info on which one is recommended and why.

So what are you using and what are the reasons for it?

Also: Is there a documentation on the XML format? What params are available for what types and such. For Kotlin this documentation is built in Teamity Web UI but for XML i could not find anything.

Thanks in advance.

0
3 comments

Hello!

I would definitely recommend Kotlin over XML. XML was introduced long time ago with the aim to store the project settings in the version control system. However, it's not easy to edit - there's a lot of "noise" that you might not know how to work with as a user. In Kotlin format, the "noise" is hidden and it's much easier to author. 

For XML format, the best documentation you can get is the XML Schema document here:

https://www.jetbrains.com/teamcity/schemas/2018.1/project-config.xsd
0

Thank you Anton. Following your description i think Kotlin is the way to go.

0

Hi. Is there any plan to store metarunners in Kotlin format (not in XML as it does now) in versioning VCS ?

0

Please sign in to leave a comment.