title: How To Make Commons Configuration's setListDelimiter Work?
body: <p>I would like to use an alternate list delimiter in Apache Commons Configuration. However, despite trying a great many different ways of accessing a Configuration object and setting its list delimiter, I can never get it to actually use anything other than the default comma delimiter.</p>
  
  <p>I'm using Commons Configuration version 1.8.0 with Java 1.6.0_29 on Mac OS X.</p>
  
  <p>EDIT:</p>
  
  <p>I need to load an XML configuration definition file that establishes a four-tier set of configuration sources:</p>
  
  <pre><code>  &lt;configuration&gt;
        &lt;system/&gt;
        &lt;properties fileName="top.properties"/&gt;
        &lt;properties fileName="bop.properties"/&gt;
        &lt;properties fileName="fop.properties"/&gt;
    &lt;/configuration&gt;
  </code></pre>
  
  <p>... which I supply to the <code>DefaultConfigurationBuilder</code> constructor:</p>
  
  <pre><code>  val configBuilder = new DefaultConfigurationBuilder(configURL)
  </code></pre>
  
  <p>I've tried both overloads of <code>getConfiguration</code> on the resulting <code>DefaultConfigurationBuilder</code>. The zero-arg version is declared to return <code>Configuration</code>, not a sub-class of <code>AbstractConfiguration</code> (though it can be cast to <code>AbstractConfiguration</code>) and <code>Configuration</code> does not even define <code>setListDelimiter</code>.</p>
  
  <p>Can you clarify how, given these requirements, I can get control over the list delimiter?</p>
  
  <p>FOLLOW-UP:</p>
  
  <p>Calling <code>AbstractConfiguration.setDefaultListDelimiter(listDelim)</code> solved the problem for me.</p>
  
  <p>Randall Schulz</p>