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

Tomaz Cerar (JIRA) issues at jboss.org
Thu May 22 17:44:58 EDT 2014


     [ https://issues.jboss.org/browse/WFLY-871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomaz Cerar closed WFLY-871.
----------------------------

    Resolution: Out of Date


This is something subsystem parser should take care of and is not a generic thing server handles.
I am closing this with out of date, as osgi subsystems ware moved to their own project.

> Indentation of multiline text content in standalone.xml keeps increasing on rewrites
> ------------------------------------------------------------------------------------
>
>                 Key: WFLY-871
>                 URL: https://issues.jboss.org/browse/WFLY-871
>             Project: WildFly
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          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 was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jboss-jira mailing list