Hi Juan,

Maybe I should rephrase my issue.

If I create a new leiningen project

$ lein new foo

And type

$ lein repl

user=>  (System/getProperty "javax.net.ssl.keyStore")

> /Users/lewisa29/certs/dev.bbc.co.uk.p12

Now if I enter this into core.clj of the foo project

(ns foo.core)

(System/getProperty "javax.net.ssl.keyStore") ;; C-x C-e

And execute this function through the Emacs CIDER REPL, I receive 'nil'.

Why can I not access the keystore in $JAVA_OPTS in my project?

Thanks

Aidy





On 10 January 2014 17:47, juan.facorro <juan.faco...@gmail.com> wrote:

> Hi Aidy,
>
> What do mean when you say "load the nRepl in the lein project"?
>
> Juan
>
> On Friday, January 10, 2014 9:42:02 AM UTC-3, Aidy Lewis wrote:
>>
>> Clojurians,
>>
>> For some reason JAVA_OPTS are not accessible in my Clojure project.
>>
>> The command line seems to be OK, if I:
>>
>> $ lein repl
>>
>> project-ns =>  (System/getProperty "javax.net.ssl.keyStore")
>>
>> -> "/../certs/dev.bbc.co.uk.p12"
>>
>>
>> However, if I load the nRepl in the lein project:
>>
>> project-ns =>  (System/getProperty "javax.net.ssl.keyStore")
>>
>> -> nil
>>
>> Not sure why this is the case?
>>
>> Thanks
>> --
>> @AidyLewis
>>
>  --
> --
> 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 unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
@AidyLewis

-- 
-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to