This content has been marked as final.
Show 3 replies
-
1. Re: problem with commects in standalone.xml
lafr Jul 18, 2014 10:57 AM (in response to dima_kononov)Comments are just ignored probably when WF reads the config file. When something changes, the config file is written to disk and comments are gone.
AFAIK there is no way to avoid this.
-
2. Re: problem with commects in standalone.xml
jaikiran Jul 25, 2014 10:03 AM (in response to lafr)FWIW - There's a JIRA for this [WFLY-731] Store config file comments in the model - JBoss Issue Tracker which is waiting for volunteers to help implement it.
-
3. Re: problem with commects in standalone.xml
sfcoy Jul 25, 2014 8:36 PM (in response to dima_kononov)My strategy here has always been to write a CLI script to perform the configuration.
This has a number of benefits:
- It makes the process of server configuration easily repeatable
- You can parameterise it for different environments
- It's much easier to place in source control - the server not's changing it on you all the time
- You can add as many comments as you want!
- Did I mention repeatability?