[jboss-jira] [JBoss JIRA] Created: (JBAS-9316) Indentation of multiline text content in standalone.xml keeps increasing on rewrites

David Bosschaert (JIRA) jira-events at lists.jboss.org
Thu Apr 14 11:27:33 EDT 2011


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

                 Key: JBAS-9316
                 URL: https://issues.jboss.org/browse/JBAS-9316
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: XML Services/Frameworks
    Affects Versions: 7.0.0.Beta3
            Reporter: David Bosschaert
            Assignee: Jason Greene
            Priority: Minor


The standalone.xml file contains some XML tags that contain multi-line XML text, e.g.:
{code}<property name="org.jboss.osgi.system.modules">
    org.apache.log4j,
    org.jboss.as.osgi,
    javax.inject.api,
    ...{code}

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:
{code}<property name="org.jboss.osgi.system.modules">
    org.apache.log4j,
            org.jboss.as.osgi,
            javax.inject.api,
    ...{code}
after a few deploys it ends up looking like this:
{code}<property name="org.jboss.osgi.system.modules">
    org.apache.log4j,
                                                                                            org.jboss.as.osgi,
                                                                                            javax.inject.api,
    ...{code}
Pretty ugly :(

Would be nice if the indentation could be left untouched.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list