Thanks Shantanu and Daniel.
I am trying to merge some functionality from two different projects, so the
credentials could be stored in properties file or the project.clj file. And
mine is not a leiningen plugin so I parsed the project.clj file.
--
You received this message because you are subs
On 08/09/2011 05:35 AM, Shantanu Kumar wrote:
>
>
> On Aug 9, 12:22 pm, mmwaikar wrote:
>> Hi,
>>
>> Assuming there are some DB credentials specified in a project.clj file as a
>> map, how should I read those credentials in my clojure code -
>>
>> 1) should I use slurp and then parse that text?
On Aug 9, 12:22 pm, mmwaikar wrote:
> Hi,
>
> Assuming there are some DB credentials specified in a project.clj file as a
> map, how should I read those credentials in my clojure code -
>
> 1) should I use slurp and then parse that text?
> 2) should I (use 'leiningen.core) and then (load-file "p