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 CompositeConfiguration, but CombinedConfiguration. Please refer to the user guide [1] and make sure you read the chapter about node combiners. HTH Oliver [1] http://commons.apache.org/proper/commons-configuration/userguide/howto_combinedconfiguration.html#Combined_Configuration > > Here’s the unit test: > https://github.com/m410/commons-configuration-yaml/blob/master/src/test/java/org/m410/config/YamlCompositeConfigurationTest.java > > <https://github.com/m410/commons-configuration-yaml/blob/master/src/test/java/org/m410/config/YamlCompositeConfigurationTest.java> > line 48 fails > > here’s the two configurations: > https://github.com/m410/commons-configuration-yaml/tree/master/src/test/resource > > <https://github.com/m410/commons-configuration-yaml/tree/master/src/test/resource> > > thx > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org