+10 on moving to YAML for config files, as it's FAR more legible
On Nov 16, 2009, at 9:54 AM, Jonathan Ellis wrote:
2009/11/16 Ted Zlatanov <t...@lifelogs.com>:
- allow a prefix here, e.g. /usr/local/cassandra instead of the
default /var
-1 on this, I think it makes it too easy to shoot yourself in the
foot.
- allow passing the prefix and any of the directories from the
command
line
-1 on this too; we've already made it easy to run different config
files from the same binaries --
http://wiki.apache.org/cassandra/RunningCassandra -- and
search-and-replace is easy enough.
A general configuration facility to allow named variables and
interpolation, similar to what the Apache Commons Configuration
classes
do for XML Property files
(http://commons.apache.org/configuration/apidocs/org/apache/commons/configuration/XMLPropertiesConfiguration.html
),
would be really nice too.
I'd rather move away from XML entirely to something like
http://jyaml.sourceforge.net/tutorial.html personally.
-Jonathan