I looked in the online-doku, but didn't find the info that fitts to my
problem.
how do i get a configuration out of multiple files, configured in only
one file?
i'd like to have a config.xml where all other needed configuration files
are listes in:
configuration
system/
properties
i need a hint what to use for the following scenario:
i'd like to have a central config.xml where i include my additional
config files (configurationxml
fileName=a-config.xml//configuration).
so i create a ConfigurationFactory(config.xml) and get a configuration
object via getConfiguration().
thank you oliver. i didn't notice that my first post made it to the list
- the mailarchive isn't the fastest (i wasn't subscribed at that time)
gmane works better.
Oliver Heger wrote:
The CompositeConfiguration you obtain from a ConfigurationFactory simply
passes the keys of the getter methods
hi,
i stumbled across the following issue, and don't know what knob to turn.
i load configs (xml) via the getConfiguration Method of
ConfigurationFactory and cast it to CombinedConfiguration.
the file i provide to the Factory is
configuration
xml fileName=c.xml/--
/configuration
c.xml has
i once wrote something about this problem, but hadn't had the time to
get back to this until now.
so here is an example:
test.xml---
root
a
ba/b
bb/b
bc/b
/a
a
bA/b
bB/b
The next release will contain an alternative class called
DefaultConfigurationBuilder. This class works very similar to
ConfigurationFactory, but provides true hierarchical processing.
ok, i got the rc, and tried the following:
DefaultConfigurationBuilder builder = new