[jboss-jira] [JBoss JIRA] (AS7-649) Indentation of multiline text content in standalone.xml keeps increasing on rewrites

Peter Bernhardt (Commented) (JIRA) jira-events at lists.jboss.org
Mon Oct 17 09:19:45 EDT 2011


    [ https://issues.jboss.org/browse/AS7-649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635171#comment-12635171 ] 

Peter Bernhardt commented on AS7-649:
-------------------------------------

Another reason for a higher priority:
when I noticed the changed standalone.xml after some restarts I thought these lines were empty and wanted to delete them - no good idea.
                
> Indentation of multiline text content in standalone.xml keeps increasing on rewrites
> ------------------------------------------------------------------------------------
>
>                 Key: AS7-649
>                 URL: https://issues.jboss.org/browse/AS7-649
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: XML Frameworks
>            Reporter: David Bosschaert
>            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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list