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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Minor
    • None
    • None
    • XML Frameworks
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dhildenb@redhat.com David Hildenbrand
            Votes:
            5 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: