Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-871

Indentation of multiline text content in standalone.xml keeps increasing on rewrites

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Out of Date
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: XML Frameworks
    • Labels:
      None

      Description

      The standalone.xml file contains some XML tags that contain multi-line XML text, e.g.:

      <property name="org.jboss.osgi.system.modules">
          org.apache.log4j,
          org.jboss.as.osgi,
          javax.inject.api,
          ...

      The problem is that every automatic rewrite of the standalone.xml (e.g. when you deploy a new thing) the indentation increases from the 2nd line of the text, so after the first rewrite it looks like this:

      <property name="org.jboss.osgi.system.modules">
          org.apache.log4j,
                  org.jboss.as.osgi,
                  javax.inject.api,
          ...

      after a few deploys it ends up looking like this:

      <property name="org.jboss.osgi.system.modules">
          org.apache.log4j,
                                                                                                  org.jboss.as.osgi,
                                                                                                  javax.inject.api,
          ...

      Pretty ugly

      Would be nice if the indentation could be left untouched.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bosschaert David Bosschaert
              • Votes:
                5 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: