Skip to content

Instantly share code, notes, and snippets.

@shooley
Created March 30, 2011 19:40
Show Gist options
  • Save shooley/895145 to your computer and use it in GitHub Desktop.
Save shooley/895145 to your computer and use it in GitHub Desktop.
Commons Configuration properties.xml
<configuration>
<header>
<result delimiterParsingDisabled="true" forceReloadCheck="true">
<nodeCombiner config-class="org.apache.commons.configuration.tree.OverrideCombiner"/>
</result>
</header>
<override>
<properties fileName="/usr/local/tomcat6/conf/application.override.properties">
<reloadingStrategy config-class="org.apache.commons.configuration.reloading.FileChangedReloadingStrategy"/>
</properties>
<properties basePath = "/" fileName="application.properties">
<reloadingStrategy config-class="org.apache.commons.configuration.reloading.FileChangedReloadingStrategy"/>
</properties>
</override>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment