commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Meraj (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CONFIGURATION-541) Support for Property files in MultiFileHierarchicalConfiguration. Currently only xml files are supported.
Date Mon, 29 Apr 2013 02:28:15 GMT

     [ https://issues.apache.org/jira/browse/CONFIGURATION-541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Meraj updated CONFIGURATION-541:
--------------------------------

    Description: 
<?xml version="1.0" encoding="ISO-8859-1" ?>
<configuration>
  <header>
    <result delimiterParsingDisabled="true" forceReloadCheck="true" loggerName="TestLogger"
            config-class="org.apache.commons.configuration.DynamicCombinedConfiguration"
            keyPattern="$$${sys:filename}">
      <nodeCombiner config-class="org.apache.commons.configuration.tree.MergeCombiner"/>
    </result>
    <providers>
      <provider config-tag="multifile"
         config-class="org.apache.commons.configuration.DefaultConfigurationBuilder$FileConfigurationProvider"
         configurationClass="org.apache.commons.configuration.MultiFileHierarchicalConfiguration"/>
    </providers>
  </header>
  <override>
	<system />
    <multifile filePattern="/usr/config/$$$${sys:filename}"
               config-name="clientConfig1" delimiterParsingDisabled="true" schemaValidation="false">
       <reloadingStrategy refreshDelay="500"
          config-class="org.apache.commons.configuration.reloading.FileChangedReloadingStrategy"/>
    </multifile>
   <multifile filePattern="/usr/configclient/$$$${sys:filename}"
               config-name="clientConfig1" delimiterParsingDisabled="true" schemaValidation="false">
       <reloadingStrategy refreshDelay="500"
          config-class="org.apache.commons.configuration.reloading.FileChangedReloadingStrategy"/>
    </multifile>
    <xml fileName="portal/default.xml"
         config-name="defaultConfig" delimiterParsingDisabled="true" schemaValidation="false">
      <reloadingStrategy refreshDelay="500"
          config-class="org.apache.commons.configuration.reloading.FileChangedReloadingStrategy"/>
    </xml>
  </override>
</configuration> 

    
> Support for Property files in MultiFileHierarchicalConfiguration. Currently only xml
files are supported.
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: CONFIGURATION-541
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-541
>             Project: Commons Configuration
>          Issue Type: Wish
>          Components: Build
>    Affects Versions: 1.8
>            Reporter: Meraj
>
> <?xml version="1.0" encoding="ISO-8859-1" ?>
> <configuration>
>   <header>
>     <result delimiterParsingDisabled="true" forceReloadCheck="true" loggerName="TestLogger"
>             config-class="org.apache.commons.configuration.DynamicCombinedConfiguration"
>             keyPattern="$$${sys:filename}">
>       <nodeCombiner config-class="org.apache.commons.configuration.tree.MergeCombiner"/>
>     </result>
>     <providers>
>       <provider config-tag="multifile"
>          config-class="org.apache.commons.configuration.DefaultConfigurationBuilder$FileConfigurationProvider"
>          configurationClass="org.apache.commons.configuration.MultiFileHierarchicalConfiguration"/>
>     </providers>
>   </header>
>   <override>
> 	<system />
>     <multifile filePattern="/usr/config/$$$${sys:filename}"
>                config-name="clientConfig1" delimiterParsingDisabled="true" schemaValidation="false">
>        <reloadingStrategy refreshDelay="500"
>           config-class="org.apache.commons.configuration.reloading.FileChangedReloadingStrategy"/>
>     </multifile>
>    <multifile filePattern="/usr/configclient/$$$${sys:filename}"
>                config-name="clientConfig1" delimiterParsingDisabled="true" schemaValidation="false">
>        <reloadingStrategy refreshDelay="500"
>           config-class="org.apache.commons.configuration.reloading.FileChangedReloadingStrategy"/>
>     </multifile>
>     <xml fileName="portal/default.xml"
>          config-name="defaultConfig" delimiterParsingDisabled="true" schemaValidation="false">
>       <reloadingStrategy refreshDelay="500"
>           config-class="org.apache.commons.configuration.reloading.FileChangedReloadingStrategy"/>
>     </xml>
>   </override>
> </configuration> 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message