Hello,
I have a working SonarQube project file with a set of properties stored in version control (Git in this case). Within that file, there are a number of properties that take a comma-separated list. I would like to split the comma separated list across multiple lines. Is this possible?
I would like the list split over multiple lines as it reduces the chance of getting a merge conflict that cannot be automatically resolved when multiple changesets alter the same list. If the list is on a single line it guarantees a merge conflict when two people make alterations.
The specific parameter I am trying to modify is the sonar.modles
list.
I started with
sonar.modules=mod1,mod2,mod3,mod4
I tried the following without success.
sonar.modules=
mod1,
mod2,
mod3,
mod4
sonar.modules=
mod1,
mod2,
mod3,
mod4
It would take me quite a while to go through the possible end of line escape characters, the first item after the quals and other options that might be there.
Any suggestions will be very greatfully recieved.
Many Thanks, Tom