Re: [CVE-2020-1953] Uncontrolled class instantiation when loading YAML files in Apache Commons Configuration

2020-03-13 Thread Oliver Heger
The form at Mitre was just submitted, so I assume that the issue will be visible soon. Oliver Am 12.03.20 um 19:18 schrieb Gary Gregory: > Note that https://cve.mitre.org/cgi-bin/cvename.cgi?name=2020-1953 is not > "live" yet. > > Gary > > On Thu, Mar 12, 2020 at

[CVE-2020-1953] Uncontrolled class instantiation when loading YAML files in Apache Commons Configuration

2020-03-12 Thread Oliver Heger
processor. Credit: This issue was discovered by Daniel Kalinowski of ISEC.pl Research Team Oliver Heger on behalf of the Apache Commons PMC - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e

Re: commons-configurations2 doesn't strip double quotes in env variable

2019-08-28 Thread Oliver Heger
>From looking in the code, the problem seems to be in the DefaultConversionHandler class, which is eventually invoked to convert a value into an array or a collection. In the protected extractValues() method a DisabledListDelimiterHandler is used to process the value - which of course does not

Re: commons-configurations2 doesn't strip double quotes in env variable

2019-08-27 Thread Oliver Heger
Hello Duc, the problem you are facing is probably not related to double quotes, but to a change in the way delimiter characters in strings are handled. In configuration 2.x the splitting of strings at delimiter characters is disabled per default. But you can enable this feature by setting a

Re: [lang3] Problem with the OSGi metadata: Bundle-SymbolicName / breaking change between 3.7 and 3.8

2018-09-06 Thread Oliver Heger
Hi Phil, as you already assume, this change in the OSGi meta data was caused by changes in the build process and not intended. So opening a ticket in Jira would be the correct action to take. Thank you for reporting! Oliver Am 06.09.2018 um 20:49 schrieb P. Ottlinger: > Hi, > > I've just

[ANNOUNCEMENT] Commons Configuration 2.3 Released

2018-08-09 Thread Oliver Heger
, patches, or suggestions for improvement, see the Apache Commons Configuration website: http://commons.apache.org/proper/commons-configuration/ Oliver Heger, on behalf of the Apache Commons community - To unsubscribe, e-mail

Re: [configuration] Reloading properties does not work as expected

2018-02-06 Thread Oliver Heger
Hi, the reloading examples have been fixed, and the site was redeployed. Thanks again. Oliver Am 01.02.2018 um 10:26 schrieb Paul Wellner Bou: > Hi, > > thank you very much. > > Yes, this helps. This is more or less what I found out as well. That's why > I introduced the 6 seconds delay in my

Re: [configuration] Reloading properties does not work as expected

2018-01-31 Thread Oliver Heger
Hi, Am 30.01.2018 um 10:18 schrieb Paul Wellner Bou: > Good morning, > > i am trying to implement a reloadable property using commons-reloading2 > (2.2), without success. I tried to follow the (outdated) examples on >

Re: [configuration] Problem Migrating from 1.x to 2.x, my XMLBeanDeclaration is key no Longer Valid

2017-10-28 Thread Oliver Heger
Hello, Am 27.10.2017 um 22:26 schrieb John Boyer: > Hello: > > I’m working on migrating my codebase from Commons Configuration 1.x to 2.x. > However, in version 2, I receive an error indicating that the key I used in > 1.x is invalid: > >

[ANNOUNCEMENT] Commons Configuration 2.2 Released

2017-10-13 Thread Oliver Heger
instructions on how to submit bug reports, patches, or suggestions for improvement, see the Apache Commons Configuration website: http://commons.apache.org/proper/commons-configuration/ Oliver Heger, on behalf of the Apache Commons community

Re: [configuration] Release date for commons-configuration2 ?

2017-10-01 Thread Oliver Heger
days). Oliver > > Cheers, > Andreas > > 2017-09-28 21:48 GMT+02:00 Oliver Heger <oliver.he...@oliver-heger.de>: > >> >> >> Am 27.09.2017 um 08:33 schrieb Andreas Kuhtz: >>> Hi Gary, >>> >>> I wasn't aware that pushing a

Re: [configuration] Release date for commons-configuration2 ?

2017-09-28 Thread Oliver Heger
Am 27.09.2017 um 08:33 schrieb Andreas Kuhtz: > Hi Gary, > > I wasn't aware that pushing a SNAPSHOT build needs the release process will > all preparations to be executed, but I'll wait for the next release in this > case. > Thank you for all the good solutions that are provided by the

Re: [configuration] Release date for commons-configuration2 ?

2017-09-27 Thread Oliver Heger
Am 27.09.2017 um 11:08 schrieb mingleizhang: > It seems I can not directly convert a file to a java Properties class in this > package. I hope it like this. > > > read(fileName: String): Properties > Wouldn't Properties.load() do the trick? Oliver > > Rice. > > > > > > > > At

Re: [configuration] Creating a properties file

2017-08-31 Thread Oliver Heger
t flag. Setting this flag to true will cause the behavior you are probably after: If the file does not exist, an empty configuration is created. Otherwise, it is loaded from the file. Oliver > > My point is that I did not really needed to care about that in 1.x. > > On Wed, Aug 30, 2017

Re: [configuration] Creating a properties file

2017-08-30 Thread Oliver Heger
Hi Thomas, Am 30.08.2017 um 10:56 schrieb Thomas Mortagne: > Here is what I currently do: > > PropertiesBuilderParameters parameters = new > Parameters().properties(); > if (file.exists()) { > new Parameters().properties().setFile(file); > } >

Re: [configuration] save xml list element

2017-01-11 Thread Oliver Heger
Hi, Am 11.01.2017 um 10:04 schrieb tobias.w...@t-systems.com: > I`m reading a xml configuration object with a xml element containing a comma > separated string: > > TLSv1.1,TLSv1.2 > > I archive this by setting explicitly a ListDelimiterHandler > > this.xmlConfigBuilder = new >

Re: detecting file reload in Apache Commons Configuration2

2016-12-03 Thread Oliver Heger
Am 03.12.2016 um 16:15 schrieb Garret Wilson: > On 12/3/2016 9:09 AM, Oliver Heger wrote: >> ... >> You can add an event listener at the ReloadingController, then you >> receive notifications of type ReloadingEvent. > > But how does that help me? The Javadocs f

Re: detecting file reload in Apache Commons Configuration2

2016-12-03 Thread Oliver Heger
Hi, Am 02.12.2016 um 15:48 schrieb Garret Wilson: > Using `org.apache.commons:commons-configuration2:2.1` my application > needs to know when a configuration file has been reloaded so that it can > update some things in the program. Apache Commons Configuration2 uses a > lot of strategies and

Re: [configuration] tension between auto-loading and synchronization

2016-11-28 Thread Oliver Heger
mons-configuration/userguide/howto_concurrency.html > should mention the configuration params. I will try to make it clearer. Oliver > > Cheers, > > Garret > > > On 11/27/2016 8:58 AM, Gary Gregory wrote: >> >> Do we need better Javadocs to make this obvious? >&g

Re: [configuration] tension between auto-loading and synchronization

2016-11-27 Thread Oliver Heger
Hi, Am 25.11.2016 um 22:55 schrieb Garret Wilson: I'm reading the documentation for the new commons-configuration 2.x. I have a simple need: load a configuration file from a properties file, reload it when the file changes, and make the configuration thread-safe for reading. From the

Re: [configuration] Custom variable interpolation

2016-11-23 Thread Oliver Heger
Hi Greg, Am 23.11.2016 um 00:50 schrieb Greg Torrance: > Hi all, > > I would like to implement a custom variable interpolator that is > specific to a Configuration object, but that also supports the standard > prefixes (sys, const, env). > > What I mean by "specific to a Configuration object"

Re: [configuration] Character position of key in file

2016-11-15 Thread Oliver Heger
pport for configuration pre-processing, independent on a concrete implementation. However, this is probably not easy to implement, and it may still be insufficient for specific use cases. Oliver > > Thanks, > Greg > > On 11/14/2016 04:27 PM, Oliver Heger wrote: >> Hi

Re: [configuration] Character position of key in file

2016-11-14 Thread Oliver Heger
Hi Greg, Am 14.11.2016 um 19:01 schrieb Greg Torrance: > I hope I'm not asking too many questions... > > I wonder if it is possible to determine the character/byte position of a > particular key in a configuration file? No, the original position from where data is read is not stored in the

Re: [configuration] Combined Configuration examples

2016-11-14 Thread Oliver Heger
imary list had Channels 1, 2, and 3, and the >> override list had only Channel 2, then it would attempt to override Channel >> 1 with the info from Channel 2.) Is my understanding correct? >> >> Anyway, I'm going to experiment a bit and try to make sure I have a good >>

Re: [configuration] reading full text of PropertiesConfiguration file in 2.0

2016-11-14 Thread Oliver Heger
Hi Robert, Am 12.11.2016 um 03:47 schrieb Robert V Sasseen: > Is there a straightforward way to get the full text of the properties file > from a PropertiesConfiguration object in 2.0? In 1.x I could do > > > PropertiesConfiguration propertiesConfiguration = new >

Re: [configuration] Combined Configuration examples

2016-11-13 Thread Oliver Heger
ly for MergeCombiner. The other combiners do not try to match nodes in both configurations based on their attribute values; they take two source nodes at the same position in the hierarchy and produce a result node that has all the attributes of the two source nodes. Oliver > > Thanks again for the repl

Re: [configuration] Combined Configuration examples

2016-11-13 Thread Oliver Heger
Hi Greg, Am 13.11.2016 um 15:07 schrieb Greg Torrance: > Hi all, > > I am trying to work out the precise differences between > OverrideCombiner, UnionCombiner, and MergeCombiner. However, the > examples on this page >

Re: [Configuration]

2016-08-24 Thread Oliver Heger
Hi, Am 24.08.2016 um 21:31 schrieb Michael Fortin: > Hi, I’m trying to combine two child lists in two configurations and was > expecting them to be combined into one longer list, but one seems to be > taking precedence over the other. Is there a way to merge child lists? Don't use

[ANNOUNCEMENT] Commons Configuration 2.1 Released

2016-08-21 Thread Oliver Heger
-configuration/ Oliver Heger, on behalf of the Apache Commons community - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org

Re: XInclude Support

2016-05-18 Thread Oliver Heger
Hi Aaron, thanks for sharing this! Oliver Am 17.05.2016 um 16:34 schrieb Aaron Gadberry: > Hi, > > To answer my own question, the document builder I was using was not > namespace or xinclude aware. Acquiring a document builder manually and > setting a custom document builder on the

Re: [configuration2]: AbstractConfiguration::getArray

2016-04-29 Thread Oliver Heger
Am 29.04.2016 um 20:36 schrieb Jörg Schaible: > c...@honton.org wrote: > >> Jorge, >> >> You could create a different named method for each primitive array >> type. Would be a pain to use in a generic fashion. > > > [snip] > > I agree with a method returning explicitly an array, but that

Re: [configuration2]: AbstractConfiguration::getArray

2016-04-28 Thread Oliver Heger
ng key) and a primitive array is not an Object[]. Oliver > >> >>> On Apr 27, 2016, at 11:59 PM, Jörg Schaible >>> <joerg.schai...@bpm-inspire.com> wrote: >>> >>> Hi Oliver, >>> >>> Oliver Heger wrote: >>> >&

Re: [configuration] Monitoring configs

2016-04-25 Thread Oliver Heger
Am 25.04.2016 um 09:45 schrieb Ahmad, Zeba: > Hi, > > I'm looking at providing a platform for users to monitor their configurations > either via JMX or some other means. Some ways I can think of doing this > > 1) Let users register their chosen configurations as MBeans. >

Re: [configuration] use commons configuration 2 as PropertySource in Spring

2016-04-20 Thread Oliver Heger
Hi Dennis, Am 19.04.2016 um 22:05 schrieb Dennis Kieselhorst: > Hi Gary, > > I'm Apache committer and like to contribute but do you think it makes > sense to have a Spring dependency in Commons Configuration? Maybe as > optional? obviously, there is no better active project where this

Re: Composite Configuration with ReloadingFileBasedConfiguration

2016-04-20 Thread Oliver Heger
Hi Avin, the reloading is only performed by the configuration builder. After you have obtained a configuration from the builder, it will not change automatically due to a reload operation. Citing from the user's guide [1]: "One important point to keep in mind when using this approach to

Re: [configuration] read only configuration with combined configurations

2016-04-14 Thread Oliver Heger
> method. > > Immutable configurations here will complicate things for me. I think > it's better to stay with CombinedConfigurations, and write a > wrapper/proxy that will control access, and manage the repository. Yes, this sounds reasonable. Good luck! Oliver > > Thank you a

Re: [configuration] read only configuration with combined configurations

2016-04-12 Thread Oliver Heger
Hi Mansour, Am 12.04.2016 um 05:39 schrieb Mansour Al Akeel: > Hello, > > I am looking to create a configuration repository, with multiple part, > some for read-only, other for read. I found combined configuration > suitable for my other requirements, but I was not able to add this mix > of

Re: Prefix for combined configuration

2016-04-09 Thread Oliver Heger
Hi Mansour, Am 09.04.2016 um 06:07 schrieb Mansour Al Akeel: > Hello, > > I am trying to load multiple sources into a CombinedConfiguration > object. However, I need to access each property using a prefix. > For example, a property that resides in "global.xml" needs to be > accessed with a

Re: [configuration]

2016-04-02 Thread Oliver Heger
Hi Rainer, On 01.04.2016 23:52, Rainer Hirschmiller wrote: > Hi. > > I'm trying configurations2 and PropertiesConfiguration. I have created a > helper class doing some error handling and configuration for > ProperiesConfiguration. Especially I load properties from different > property files. I

Re: [configuration] use commons configuration 2 as PropertySource in Spring

2016-03-31 Thread Oliver Heger
Hi Dennis, Am 31.03.2016 um 14:27 schrieb Dennis Kieselhorst: > Hi, > > great to see that Commons Configuration 2.0 is out. > > There is one question that appeared during the migration in one of my > projects. With Commons Configuration 1.0 a Spring modules factory bean >

[ANNOUNCEMENT] Commons Configuration 2.0 Released

2016-03-25 Thread Oliver Heger
on how to submit bug reports, patches, or suggestions for improvement, see the Apache Commons Configuration website: http://commons.apache.org/proper/commons-configuration/ Oliver Heger, on behalf of the Apache Commons community

Re: [configuration] 1.10 regression / backwards-incompatible change in MapConfiguration.convertPropertiesToMap ?

2016-01-14 Thread Oliver Heger
Am 13.01.2016 um 23:23 schrieb Gary Gregory: > On Wed, Jan 13, 2016 at 11:43 AM, Norbert Kiesel > wrote: > >>> Hi Norbert, >>> >>> due to lack of time, I recently only focused on Configuration 2.0 and >>> intended to let the 1.x series slowly die. Therefore, my

Re: [configuration] 1.10 regression / backwards-incompatible change in MapConfiguration.convertPropertiesToMap ?

2016-01-12 Thread Oliver Heger
Hi Norbert, Am 11.01.2016 um 23:37 schrieb Norbert Kiesel: > Attached is a patch with an extended unit test (which the patched code > passes, but the current 1.10 fails). > > Just using the 2.0 code does not work, because > - the 1.10 API uses Map and not Map >

Re: [configuration] 1.10 regression / backwards-incompatible change in MapConfiguration.convertPropertiesToMap ?

2016-01-10 Thread Oliver Heger
Hi, Am 07.01.2016 um 20:33 schrieb Norbert Kiesel: > Hi, > > > we just tried to upgrade from commons-configuration-1.9 to > commons-configuration-1.10 and hit a blocking problem. It manifests itself > as: > > java.lang.UnsupportedOperationException > at

[ANNOUNCEMENT] Commons Configuration 2.0-beta2 Released

2015-12-06 Thread Oliver Heger
central.) For complete information on Commons Configuration, including instructions on how to submit bug reports, patches, or suggestions for improvement, see the Apache Commons Configuration website: http://commons.apache.org/proper/commons-configuration/ Oliver Heger, on behalf of the Apache

Re: Fwd: Parse XML configuration file with namespaces

2015-11-25 Thread Oliver Heger
XMLConfiguration xmlPersonConfiguration = new XMLConfiguration(); > xmlPersonConfiguration.setExpressionEngine(new > XPathExpressionEngine()); > xmlPersonConfiguration.setSchemaValidation(true); > xmlPersonConfiguration.setFileName("..."

Re: Fwd: Parse XML configuration file with namespaces

2015-11-24 Thread Oliver Heger
Hi Maurizio, in order to debug your problem, you can call the configuration's getKeys() method. From the iterator returned you should see the available keys. These keys can then also be used for querying properties. HTH Oliver Am 24.11.2015 um 13:54 schrieb Maurizio Lattuada: > Hi guys, > >

Re: [configuration] How to read an INI Configuration with brackets as list separator

2015-08-26 Thread Oliver Heger
Am 25.08.2015 um 17:33 schrieb Thomas Vandahl: On 25.08.15 07:55, Patrick Brunmayr wrote: Hello How can i read a configuration like that ? [RESPONSE] code = 200 description = Command completed successfully queuetime = 0 runtime = 0.006 property[count][0] = 164 property[domain][0] =

Re: Mutable BasicDynaBean Map

2015-06-22 Thread Oliver Heger
Am 22.06.2015 um 21:56 schrieb Ercan Canlıer: Hello, As i mentioned at the mail subject, i am having problem with not mutable map inside BasicDynaBean. As far as i know, it is the default behaviour of this map. What i would like to do is, simply retrieve the resultset from db which will

Re: [configuration] Apache Commons Configuration Version 2

2015-05-06 Thread Oliver Heger
, Ron -Original Message- From: Oliver Heger [mailto:oliver.he...@oliver-heger.de] Sent: Tuesday, May 05, 2015 4:20 PM To: Commons Users List Subject: Re: [configuration] Apache Commons Configuration Version 2 Hi Ron, Am 05.05.2015 um 22:09 schrieb DiFrango, Ronald (CONT

Re: [configuration] Apache Commons Configuration Version 2

2015-05-05 Thread Oliver Heger
Hi Ron, Am 05.05.2015 um 22:09 schrieb DiFrango, Ronald (CONT): All, Is Apache commons configuration in maven central or some other repo? I'm using Gradle and pointing to an internal Nexus repo that is a proxy for Maven central and I can't resolve it as follows: compile group:

Re: [configuration]

2015-03-02 Thread Oliver Heger
Am 02.03.2015 um 10:53 schrieb Velladurai Pandian, Ashok Kumar: I have a hierarchy of property files which are available in various folders in my file system. The file names are same but the folders are named based on the base group and specific group id and. I have a requirement of

Re: [configuration] Adding CData to xml property

2015-01-06 Thread Oliver Heger
On 06.01.2015 17:55, jeevi tesh wrote: Hi, Need to add CDATA into XML Property element, but special character are getting added. Here is my code. Please give your thoughts on the same. Here is the code. String cDataTagStart=\\![CDATA[; String cDataTagEnd=]]\\; credentialsURL

Re: [configuration] Adding New property

2015-01-02 Thread Oliver Heger
Hi, note that this is a shared mailing list, so it is convention to prefix the subject with the name of the component the question relates to. Please have a look at the user's guide at http://commons.apache.org/proper/commons-configuration/userguide_v1.10/howto_xml.html#Adding_new_properties

[ANNOUNCEMENT] Commons Configuration 2.0-alpha2 Released

2014-12-20 Thread Oliver Heger
, including instructions on how to submit bug reports, patches, or suggestions for improvement, see the Apache Commons Configuration website: http://commons.apache.org/proper/commons-configuration/ Oliver Heger, on behalf of the Apache Commons community Have a happy holiday season

Re: BeanUtilsBean thread safe? Why wouldn't you make Fluent default?

2014-12-17 Thread Oliver Heger
Hi Clebert, Am 15.12.2014 um 19:44 schrieb Clebert Suconic: Hello There.. I'm going to use BeanUtils on ActiveMQ6 to solve properties on my URL parsing: I'm setting the BeanUtils instance static on a class. and I'm going to eventually use it for setting things on my factory:

Re: [beanutils] Precision lost when converting BigDecimal

2014-09-30 Thread Oliver Heger
Hi, Am 30.09.2014 um 09:26 schrieb Tommy Tynjä: Hi. I'm using commons-beanutils in my current project for bean copy operations. I have a use case where I would like to convert a domain specific object which extends BigDecimal to a regular java.math.BigDecimal. If my domain specific object

[ANNOUNCEMENT] Commons Configuration 2.0-alpha1 Released

2014-09-25 Thread Oliver Heger
to submit bug reports, patches, or suggestions for improvement, see the Apache Commons Configuration website: http://commons.apache.org/proper/commons-configuration/ Oliver Heger, on behalf of the Apache Commons community

Re: [configuration] JXPathException when setting the default expression engine

2014-09-12 Thread Oliver Heger
Hi Nick, you are right, this is indeed a problem in 1.10. DefaultConfigurationBuilder extends XMLConfiguration; therefore, setting the default expression engine affects the way keys are resolved. The preferred way to set the expression engine for the combined configuration produced by the

Re: Commons Config: Variable Interpolation

2014-07-12 Thread Oliver Heger
Hi Ronald, I have not used ExprLookup myself, so I am not sure whether I am a big help here. Your declaration of the lookup seems to be correct, otherwise an exception would be thrown by DefaultConfigurationBuilder. A difference between your code and the example in the user's guide is that in

Re: (beanutils) possible problem with beanutils being used by geoserver

2014-05-30 Thread Oliver Heger
Hello Joel, Am 29.05.2014 19:12, schrieb Joel Harris: Hello, I'm trying to utilize the Geoserver v2.5 application on glassfish v4 with security manager enabled. when I navigate to certain areas in the web application I get a beanutils exception (toward the bottom of the stack trace below),

Re: [configuration] Unexpected trimming when value contains escaped delimiter

2014-05-26 Thread Oliver Heger
Hello Cédric, Am 26.05.2014 14:43, schrieb Cédric Couralet: Hello, When parsing a property string value containing a delimiter character, the resulting String is trimmed. See the following example : BaseConfiguration conf = new BaseConfiguration(); conf.setProperty(test1,

Re: [configuration] how to comment / uncomment particular property in Java *.properties files

2014-04-26 Thread Oliver Heger
Hello, Am 26.04.2014 18:21, schrieb Shalfey: Hello, I cannot find the functionality for commenting / uncommenting particular properties by their names. Let's say I have the property like this: |app.dateFields=tranDate,expectedCloseDate,\

Re: [beanutils]how can I use BeanUtils.populate to set value to my property with diff-argument type between setter and getter?

2014-03-29 Thread Oliver Heger
Am 27.03.2014 05:38, schrieb Yang Diddy: Please help: if property of my class's setter and setter method arguments type doesn’t match, how can i populate bean object? public class Foo extends SomeClass{ private int id; @Override public Object getId() { return id; } public void

Re: Commons Configuration Web Site Broken

2014-03-16 Thread Oliver Heger
The site has been redeployed. The problems should be fixed now. Oliver Am 14.03.2014 21:35, schrieb Oliver Heger: Am 14.03.2014 02:35, schrieb Martin Gainty: Date: Thu, 13 Mar 2014 14:33:04 + Subject: Re: Commons Configuration Web Site Broken From: seb...@gmail.com To: user

Re: Commons Configuration Web Site Broken

2014-03-14 Thread Oliver Heger
Am 14.03.2014 02:35, schrieb Martin Gainty: Date: Thu, 13 Mar 2014 14:33:04 + Subject: Re: Commons Configuration Web Site Broken From: seb...@gmail.com To: user@commons.apache.org On 12 March 2014 20:27, Oliver Heger oliver.he...@oliver-heger.de wrote: Hit Matt, thanks

Re: Commons Configuration Web Site Broken

2014-03-12 Thread Oliver Heger
Hit Matt, thanks for spotting this. It looks like an intermediate snapshot version of the site has been deployed while experimenting with the new look feel. Situation is worse because the latest 1.10 release has been made from a special branch while the site in trunk still is based on the 1.9

Re: Commons configuration version 2

2014-02-25 Thread Oliver Heger
. Which percentage of the work is already done in your opinion? 3. How does this effort differ from the 1.x branch? Isn't that also supported on volunteering basis? Thanks On Feb 24, 2014 10:37 PM, Oliver Heger oliver.he...@oliver-heger.de wrote: Hi Yair, thanks for your interest in Commons

Re: Commons configuration version 2

2014-02-25 Thread Oliver Heger
, Oliver Heger oliver.he...@oliver-heger.dewrote: Some more comments from me in-line... Am 25.02.2014 14:17, schrieb Gary Gregory: Yair, Welcome to Apache Commons. Please see: 1- https://commons.apache.org/volunteering.html 2- https://commons.apache.org/patches.html 3- https

Re: Commons configuration version 2

2014-02-24 Thread Oliver Heger
Hi Yair, thanks for your interest in Commons Configuration. Unfortunately, I cannot be more precise than Gary. There is still ongoing work on a major refactoring of the API for Configuration 2.0. There is some progress, but it is slow as time for OpenSource is limited. There is no detailed road

Re: [configuration] Help on implementing new Configuration (JSON)

2014-02-20 Thread Oliver Heger
Hi Thomas, Am 20.02.2014 13:30, schrieb Thomas Melville: Hi, Is there any documentation on implementing a new configuration? In our system we have properties in .properties file and .json files and I don't see anything about JSON in apache-commons-configuration. I'd like to implement a

Re: Conditional Configuration Keys

2014-02-13 Thread Oliver Heger
Hi Ron, Am 13.02.2014 20:53, schrieb DiFrango, Ronald (CONT): All, I searched around and could find an answer, I have a set of properties where I want to conditionally select them based upon environment variables. For example, I have the following set: schemas.default=DB

Re: Conditional Configuration Keys

2014-02-13 Thread Oliver Heger
different sets of properties. Oliver [1] http://commons.apache.org/proper/commons-configuration/userguide/howto_properties.html#Includes Thanks, Ron -Original Message- From: Oliver Heger [mailto:oliver.he...@oliver-heger.de] Sent: Thursday, February 13, 2014 3:14 PM To: Commons

Re: [configuration] INIConfiguration has no include?

2014-01-17 Thread Oliver Heger
Hello Hans, Am 17.01.2014 10:48, schrieb Hans Schwäbli: When using the org.apache.commons.configuration.PropertiesConfiguration there is a include feature allowing me to include other property files. I use this for overriding default properties with user's specific properties:

[ANNOUNCEMENT] Commons BeanUtils 1.9.1 Released

2014-01-12 Thread Oliver Heger
, or suggestions for improvement, see the Apache Commons BeanUtils website: http://commons.apache.org/proper/commons-beanutils/ Oliver Heger, on behalf of the Apache Commons community - To unsubscribe, e-mail: user-unsubscr

[ANNOUNCEMENT] Commons BeanUtils 1.9.0 Released

2013-12-12 Thread Oliver Heger
location when downloading the release. For complete information on Commons BeanUtils, including instructions on how to submit bug reports, patches, or suggestions for improvement, see the Apache Commons BeanUtils website: http://commons.apache.org/proper/commons-beanutils/ Oliver Heger, on behalf

Re: [configuration] when is commons configuration 2.0 is planned to be released?

2013-09-27 Thread Oliver Heger
Hi Dmitriy, thanks for your interest in Commons Configuration. Am 27.09.2013 13:08, schrieb Dmitriy Litvak: Configuration commons 2.0 has been sitting in svn for more than a year. Are there plans to release it soon? Thank you! D Well, there is still some work to do. On my to-do list,

[configuration] Re: commons-configuration question

2013-07-22 Thread Oliver Heger
Hello Brian, Am 22.07.2013 18:48, schrieb Brian McCormick: I hope I am asking in the right place. I could not find a user group per se that supports this. Please point me in the right direction if this isn't a good place to ask questions. yes, this is the correct place. However, this is a

Re: [configuration] Intenttion of class FileBased

2013-05-05 Thread Oliver Heger
Hi Oliver, great to get some feedback on the new re-designed trunk! Am 05.05.2013 01:17, schrieb Oliver Kopp: Hi, I'm working with the trunk version of apache.commons.configuration. There, FileHandler allows to have passed a FileBased object in the constructor. I thought, I could implement

Re: [configuration] CombinedConfiguration#clone() not cloning changed properties

2012-12-05 Thread Oliver Heger
Am 05.12.2012 16:32, schrieb Andre Weihe: CombinedConfiguration#clone() does not clone properties set/changed on the CombinedConfiguration that are stored in combinedRoot (which seems NOT to be cloned). Bug, feature or You are using it wrong!? Probably a kind of missing feature... This

Re: [configuration] ACC is inserting and removing backslahes

2012-10-13 Thread Oliver Heger
Am 12.10.2012 21:04, schrieb Jamie Salts: Hello, I am attempting to use commons configuration with some existing properties files I have and I'm noticing my backslashes in password hashes and file locations are being removed and some of my quotes get escaped when simply loading and saving the

Re: [configuration]: getList

2012-09-25 Thread Oliver Heger
Am 25.09.2012 20:13, schrieb Rainer Hirschmiller: Hi, I use a properties file for configuration which contains a list of integer values. Retrieving the List I got a list of string instead of a list of integer. The question now is how can I get a list of integers instead. So far, data

Re: [lang] commons-lang 3.1 and commons-configuration

2012-08-11 Thread Oliver Heger
and the Maven coordinates will change. In our opinion this is the only way to avoid jar hell. Oliver Tom On Wed, Aug 8, 2012 at 3:38 PM, Oliver Heger oliver.he...@oliver-heger.dewrote: Hi Tom, Am 07.08.2012 22:21, schrieb Tom Weissinger: Hi, What is the timeline for commons-configuration

Re: [lang] commons-lang 3.1 and commons-configuration

2012-08-08 Thread Oliver Heger
Hi Tom, Am 07.08.2012 22:21, schrieb Tom Weissinger: Hi, What is the timeline for commons-configuration to be compatible with commons-lang 3.1? We want to be able to use some of the new features of commons-lang (like generic support) but commons-configuration still uses the old commons-lang.

Re: [configuration] attributes in xml config don't apply to all entries of a list

2012-05-31 Thread Oliver Heger
Am 31.05.2012 08:30, schrieb Alexander Selg: Hi Oliver, thanks for your clarification. From my point of view it would be more straightforward assigning attributes to all nodes of a list. Otherwise the list feature seems incomlete to me. Our lists are a bit longish so I was very happy that I

Re: [configuration] attributes in xml config don't apply to all entries of a list

2012-05-30 Thread Oliver Heger
Am 30.05.2012 16:53, schrieb Alexander Selg: Hi, I'm using a different implementation of the DefaultExpressionEngine. I use attributes in our applications conf.xml to filter the result of DefaultExpressionEngine.query(). So I have a config file like configuration someStrings

Re: [configuration] best practice with nested xml files

2012-05-02 Thread Oliver Heger
Am 01.05.2012 13:07, schrieb Oliver Zemann: Hi following scenario: I have one global config.xml which contains a regularconfiguration and includes some furtherconfiguration fileName=a1.xml / configuration fileName=a2.xml / ... The a1.xml also contains some xml references likexml

Re: [configuration] Problem with XMLConfiguration.setProperty(String, Object) and setDelimiterParsingDisabled

2012-04-25 Thread Oliver Heger
Am 22.04.2012 22:15, schrieb Oliver Heger: Thank you for reporting this. I agree with you that the output of the configuration should be independent on the value of the delimiter parsing flag. If you are convinced that this is an error, please open a ticket in our bug tracking system [1]. I

Re: [configuration] Problem with XMLConfiguration.setProperty(String, Object) and setDelimiterParsingDisabled

2012-04-22 Thread Oliver Heger
Thank you for reporting this. I agree with you that the output of the configuration should be independent on the value of the delimiter parsing flag. If you are convinced that this is an error, please open a ticket in our bug tracking system [1]. I hope to find some time in the next days to

Re: [configuration] recursive inclusion of xml files with fileNames tag

2012-04-20 Thread Oliver Heger
Hi Oliver, Am 20.04.2012 08:59, schrieb Oliver Zemann: Hi Oliver ;) Thanks for your help. I tried it with the following code/config: public static void main(String[] args) { CombinedConfiguration conf = null; try { DefaultConfigurationBuilder builder = new

Re: [configuration] recursive inclusion of xml files with fileNames tag

2012-04-19 Thread Oliver Heger
Hi Oliver, Am 19.04.2012 16:05, schrieb Oliver Zemann: Hi, just a short question: is it possible to include recursive all xml files that are referenced by any already included xml? eg.: root.xml: ?xml version=1.0 encoding=UTF-8? additional xml fileName=other.xml config-name=another/

Re: synchronization and XMLPropertiesConfiguration

2012-04-18 Thread Oliver Heger
Hi Julien, Am 18.04.2012 09:10, schrieb Julien Wajsberg: Hi, I've a question about XMLPropertiesConfiguration in commons-configuration. It's said in the Java Doc that Configuration objects of this type can be read concurrently by multiple threads. However if one of these threads modifies the

Re: synchronization and XMLPropertiesConfiguration

2012-04-18 Thread Oliver Heger
Am 18.04.2012 23:35, schrieb Julien Wajsberg: Hi Olivier, On 18 April 2012 21:40, Oliver Hegeroliver.he...@oliver-heger.de wrote: As I understand it, modifying the object means changing one of its core values, like the file to load from/save to, the encoding, etc. It doesn't mean adding or

Re: [configuration] PropertyConverter.to method fails

2012-03-24 Thread Oliver Heger
Am 19.03.2012 10:45, schrieb GMail Manzoni.Alessandro4: il 17.03.2012 18:05, Scrive Oliver Heger 124499136: You are right, this is a bug in PropertyConverter.to(). The trivial or identity conversion should be handled, too. I opened a bug ticket to track this: https://issues.apache.org/jira

Re: [configuration] Enum constants as keys

2012-03-24 Thread Oliver Heger
Hi Chris, this is certainly interesting stuff. Now that Commons Configuration requires Java 1.5 at minimum, we are able to define an API which makes use of enum constants. Especially the aspect of annotation meta data seems promising IMHO. There are surely many good use cases. What I am

Re: [configuration] PropertyConverter.to method fails

2012-03-17 Thread Oliver Heger
Am 16.03.2012 18:42, schrieb GMail - Ugo Gagliardelli: I'm experiencing a problem while reading an ini file. My class is mapping ini section values to comfortable values such as Integer, InetAddress and so on, when I retrieve a value as a String I get a ConversionException. This is tha stack

Re: [configuration] How to get threadsafe subset() config in a threadsafe way?

2012-03-14 Thread Oliver Heger
Am 13.03.2012 19:05, schrieb Tim Bessie: That's a possibility which I'll look into. In the meantime, after initializing our main Configuration wrapper object with all of our static configuration data, I copy slices of it to static maps that I know will never change, and provide convenience

Re: [configuration] Variable interpolation across files broken

2012-02-26 Thread Oliver Heger
Am 26.02.2012 09:19, schrieb sam iam: Hi, With Commons Configuration 1.6, I was able to declare a variable in a properties file, and then reference it in a XML file using the ${myvar} syntax. For example: global.properties-myvar=abc test.xml-products product name=abc

[ANNOUNCEMENT] Commons Configuration 1.8 Released

2012-02-05 Thread Oliver Heger
the provided checksums and/or signatures after you have downloaded a distribution!) Oliver Heger on behalf of the Apache Commons Team - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h

Re: [configuration] XPathExpressionEngine - xpath syntax

2011-12-29 Thread Oliver Heger
Hi, some comments below... Oliver Am 29.12.2011 11:02, schrieb M M: Hi, I'm trying to use /_*Commons Configuration*_/ to parse an XML configuration file and I'm having some troubles with the xpath syntax. After a few tries I understood that I need to use the XPathExpressionEngine, and i think

  1   2   >