Issue #18 has been updated by Jonathan Clarke.

Just came across a library that aims to solve the configuration file problem... 
It uses a simple language that allows to:
* Have simple key/value pairs
* Group key/value pairs by section, and sub-section
* Reuse previously defined values (#120)
* Include one config file in another
* Have one section "extend" another section, just changing some values

I like the look of it!

Some drawbacks:
* It is written in Scala. However, it can apparently be used from Java (OK, why 
not)
* It also includes a logging API, but we can ignore this I think.

See http://www.lag.net/configgy/README.html.
----------------------------------------
Feature #18: Change the configuration format to something more adaptable
http://tools.lsc-project.org/issues/18

Author: Jonathan Clarke
Status: Feedback
Priority: Normal
Assigned to: 
Category: Core
Target version: Sometime in the future


XML?
YAML?

Think about it being parsed/written by a web interface.

WIP : 

h2. XML :
 
+ Very easy to read/write for a computer
+ With CDATA we can write multiple lines JS
- Very hard to read/write for a human
 
h2. YAML : 
 
+ Easy to read/write for a human/computer
+ Can write multiple lines JS
 
h2. Properties :
 
+ Easy to read/write for a human/computer
+ Can reference other properties
- Can not write multiple lines JS
 
h2. NeXt/ Open Step configuration files 
 
See : 
http://commons.apache.org/configuration/apidocs/org/apache/commons/configuration/plist/PropertyListConfiguration.html
 
+ Easy to read/write for a human/computer
- Can not write multiple lines JS
 




-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://tools.lsc-project.org/my/account
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-dev mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-dev

Reply via email to