Re: Convention for configuration files?

2012-04-26 Thread Brian Marick

On Apr 26, 2012, at 12:09 PM, Laurent PETIT wrote:

> Le 26 avr. 2012 à 02:15, Brian Marick  a écrit :
> 
>> Midje is getting to the point where it probably wants some sort of 
>> configuration/customization file. Is there any sort of emerging idiom for 
>> those in Clojure-land?

> I don't know what kind of configuration your talking about, but
> wouldn't that be project specific, thus better placed, anyway,
> somewhere inside the project's. folder ?


Some would be project-specific. Some would be settings that a person would want 
to apply to all projects she was working on. 

-
Brian Marick, Artisanal Labrador
Now working at http://path11.com
Contract programming in Ruby and Clojure
Occasional consulting on Agile


-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: Convention for configuration files?

2012-04-26 Thread Laurent PETIT
Le 26 avr. 2012 à 02:15, Brian Marick  a écrit :

> Midje is getting to the point where it probably wants some sort of 
> configuration/customization file. Is there any sort of emerging idiom for 
> those in Clojure-land?
>
> - Naming convention? Beginning with a dot? Ending in "rc"? Etc.
>
> - If Joe User wants a config file in his home directory, will we force him to 
> put that in his Java classpath? [Speaking as a Unix guy for 30 years: ick.]

I don't know what kind of configuration your talking about, but
wouldn't that be project specific, thus better placed, anyway,
somewhere inside the project's. folder ?


>
> - Etc.
>
> -
> Brian Marick, Artisanal Labrador
> Now working at http://path11.com
> Contract programming in Ruby and Clojure
> Occasional consulting on Agile
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with your 
> first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: Convention for configuration files?

2012-04-25 Thread Phil Hagelberg
Brian Marick  writes:

> Midje is getting to the point where it probably wants some sort of
> configuration/customization file. Is there any sort of emerging idiom
> for those in Clojure-land?

You could always piggy-back on Leiningen user-level profiles.
Propagating the :midje key from the project map argument into the code
run inside the project's JVM would allow you to benefit from the fact
that Leiningen 2.x merges the :user profile in ~/.lein/profiles.clj with
the project map before invoking any task.

-Phil

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Convention for configuration files?

2012-04-25 Thread Brian Marick
Midje is getting to the point where it probably wants some sort of 
configuration/customization file. Is there any sort of emerging idiom for those 
in Clojure-land?

- Naming convention? Beginning with a dot? Ending in "rc"? Etc.

- If Joe User wants a config file in his home directory, will we force him to 
put that in his Java classpath? [Speaking as a Unix guy for 30 years: ick.]

- Etc.

-
Brian Marick, Artisanal Labrador
Now working at http://path11.com
Contract programming in Ruby and Clojure
Occasional consulting on Agile


-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en