Borut BolĨina wrote: > Hi, > > I did not find the time yet to test 1.3-dev, but I have a question. If > have a configuration.xml such as > > <?xml version="1.0" encoding="ISO-8859-1" ?> > <configuration> > <properties fileName="foo.properties"/> > <properties fileName="bar.properties"/> > <properties fileName="acme.properties"/> > <xml fileName="cow.xml"/> > <xml fileName="chicken.xml"/> > </configuration> > > > then I find these lines in my code: > > public static CompositeConfiguration config; > .... > > // WARNING - acme.properties must be 3rd entry in configuration.xml > Configuration propertyConfiguration = config.getConfiguration(2); > > Will there be a way to get propertyConfiguration (or xmlConfiguration > or even (!) databaseConfiguration) out of configuartion.xml _by some > id_ and _not by index_? I don't want my application stop working just > becouse someone changed the order of elements in configuration.xml. > > Regards, > Borut
Yes, I plan to support names for configurations. But this is one of the things that are not implemented yet. Oliver <snip/> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
