]
David Lloyd commented on AS7-649:
---------------------------------
This element value should definitely be collapsing whitespace on read before the value
goes into the model, and recreating it on write.
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.
For more information on JIRA, see: