Re: Any suggestions for configuration solution in Clojure or Java world?

2013-07-09 Thread Alex P
I'm using rather trivial solution: store config in Clojure file (as a hash), here's what my config bootstrap looks like: https://github.com/ifesdjeen/utils/blob/master/src/com/ifesdjeen/utils/config.clj lg,  Alex http//twitter.com/ifesdjeen http://clojurewerkz.org/ On June 18, 2013 at 4:51:22

Any suggestions for configuration solution in Clojure or Java world?

2013-06-17 Thread Mingqi
After suffer xml or properties configuration for long time, I'm looking for a new configuration solution for Clojure or Java. I hope below features, priority from high to low: 1. readable format and easy to write. XML is the opposite example, which is not easy to edit and not readable. I like

Re: Any suggestions for configuration solution in Clojure or Java world?

2013-06-17 Thread Softaddicts
We built our own tool using zookeeper. We need to manage clusters of nodes, clearly property files were not scalable enough to be of any help here. All the configuration values are written using Clojure expressions, not just EDN like stuff, we do eval code loaded in the configuration to provide

Re: Any suggestions for configuration solution in Clojure or Java world?

2013-06-17 Thread Paul deGrandis
I have wrapped up the Typesafe Config pieces, that can read EDN and HOCON in: https://github.com/ohpauleez/confil The project should be considered pretty alpha and the general interface may change. I also have plans to make two supplemental project: confil-literals (that bring along reader

Re: Any suggestions for configuration solution in Clojure or Java world?

2013-06-17 Thread josh rotenberg
I like carica for configuration: https://github.com/sonian/carica I switched a project over from the typesafe config package (with my own very thin Clojure wrapper around it) to carica and found it really nice to work with. Josh -- -- You received this message because you are subscribed to

Re: Any suggestions for configuration solution in Clojure or Java world?

2013-06-17 Thread Dick Davies
I glanced at this a while back - does carica support java -jar myuberjar.jar config.clj type invocation, or is it strictly compile the config in a la bundle into the class path? I generally ship the same uberjar around for prod/dev/etc. along with a per-environment config.clj file, and that

Re: Any suggestions for configuration solution in Clojure or Java world?

2013-06-17 Thread Robert Levy
Last year I released milieu which I developed at Draker, Inc. I have a few improvements (more features, some of them inspired by caricajure) slated for a release soon. On Jun 17, 2013 12:17 PM, Dick Davies rasput...@hellooperator.net wrote: I glanced at this a while back - does carica support

Re: Any suggestions for configuration solution in Clojure or Java world?

2013-06-17 Thread Mingqi Shao
Josh, thank your suggestions. I glanced Carica found look very simple (I hate complex) and nice. Could you share your practices how to deal with difference environments, dev and online? thanks On Tue, Jun 18, 2013 at 1:08 AM, josh rotenberg joshrotenb...@gmail.comwrote: I like carica for