[
https://issues.jboss.org/browse/AS7-649?page=com.atlassian.jira.plugin.sy...
]
Tobias Sarnowski commented on AS7-649:
--------------------------------------
Please give the ticket a higher priority. This is a more important issue than one might
think in the first place. For development, we track the standalone.xml in our git
repository and everytime you start your jboss for development, it changes the whitespaces
in the standalone.xml. Having a constant regeneration of the standalone.xml would be great
for VCS tracking.
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