commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sabine Schwanitz <>
Subject [configuration] setDelimiterParsingDisabled doesn't work withd DefaultConfigurationBuilder
Date Fri, 28 Sep 2007 11:04:19 GMT

when I'm trying to disableListDelimiter in DefaultConfigurationBuilder, 
this is ignored.
I just started working with apache.commons.configuration so maybe I did 
something wrong?

So far I declared in my config.xml
<properties filename=""/>
<properties filename="" config-at="en_US"/>

So far localization works fine using config-at and prepending the local 
prefix to the key.
But I do also have messages with the default List Delimiter: ','
I don't need any list delimiter in the application and would like to  
avoid future conflicts by setting a different delimiter.

Here my code:

public static Configuration getConfigurationFor(String filename){
  DefaultConfigurationBuilder builder = new DefaultConfigurationBuilder();
  return builder.getConfiguration();

I also tried already a few things like not to reload Configuration with 
"builder.getConfiguration(false)" or to setting the flag directyl to 

How do i get this work without setting a different delimiter?

Thanks for help


Sabine Schwanitz
Software Entwicklerin
Aparzev GmbH
Sitz Berlin
Geschäftsführer: Alexander Apartsev
Amtsgericht Charlottenburg, Berlin HR B 90915
Steuernummer 37/244/20791
USt.-Id.-Nr. DE813783738

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message