james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Charles <e...@apache.org>
Subject Re: Where and how to read Configuration files
Date Thu, 25 Jul 2013 13:41:38 GMT
On 25/07/2013 14:18, Emma Sesmero wrote:
> Hello all,
>
> Currently, I am implementing the configuration web interface and I have a
> couple of questions:
>
> - The documentation says that all configuration files resides in the ./conf
> and ./conf/META-INF folder. So what I am doing now is trying to read the
> configuration .xml in the forther ./conf (for example, dnsservice.xml for
> DNS), if it does not exist, I create the xml copying the -template.xml
> (dnsservice-template.xml for DNS), reading this considering it as the
> default configuration and edit it. Do you think this is the correct
> approach?
>

Doc is for the last release. trunk uses configuration files embedded in 
the jars, and overrided by files in conf folder (initially, conf folder 
is empty)

> - Does any of you know what james server is using to read those
> configuration files? I have started to use jdom, but it might be better to
> use the same as James for this task.
>

configuration is parsed with commons-configuration library.

> Thank you very much in advance.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message