commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wabner, Thomas (EXT)" <>
Subject [commons-configuration] - overloading a properties configuration
Date Tue, 04 Sep 2007 15:54:09 GMT


I have following problem:


Loading file which includes follow example properties:





The I have a file which have properties:




What I want is to first load file and then "overloading" the file
The resulting configuration object should look like





But if I use the load() method from the PropertiesConfiguration I got a configuration object
which looks like



Test2=test2, test3


Now the question: If there is another method or trigger do not append the second property
but to override it?


Many thanks


- waffel

Mit freundlichem Gruß / Best regards

Thomas Wabner

Siemens AG
Automation and Drives, A&D CoC Sales Configuration

SPICE - Service & Support


Tel.    : +49 (341) 4470-657 <> 

Siemens Aktiengesellschaft: Chairman of the Supervisory Board: Gerhard Cromme;
Managing Board: Peter Löscher, Chairman, President and Chief Executive Officer;
Johannes Feldmayer, Heinrich Hiesinger, Joe Kaeser, Rudi Lamprecht, Eduardo Montes, 
Juergen Radomski, Erich R. Reinhardt, Hermann Requardt, Uriel J. Sharef, Klaus Wucherer;
Registered offices: Berlin and Munich;
Commercial registries: Berlin Charlottenburg, HRB 12300, Munich, HRB 6684
WEEE-Reg.-No. DE 23691322


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message