On Mon, Jun 13, 2011 at 2:04 PM, Brettski <[email protected]> wrote: > How do you guys manage your different coldspring.xml files? > > I have one that contains simpleconfig bean that is specific to my > development, staging and production environments.
I have one configuration that defines defaults and then per-environment overrides - and have an environment service that uses the host machine name to select the appropriate set of configuration values at startup. Every piece of configuration that can vary is managed thru that. (and any configuration that cannot be handled by that is simply not allowed to vary between environments) We actually just moved that configuration down into Clojure so the same environment service can be reused between CFML, Clojure, Scala and any other J-language we have in the mix. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Railo Technologies, Inc. -- http://www.getrailo.com/ "Perfection is the enemy of the good." -- Gustave Flaubert, French realist novelist (1821-1880) -- Model-Glue Sites: Home Page: http://www.model-glue.com Documentation: http://docs.model-glue.com Bug Tracker: http://bugs.model-glue.com Blog: http://www.model-glue.com/blog You received this message because you are subscribed to the Google Groups "model-glue" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/model-glue?hl=en
