Re: JAVA_OPTS not accessible in my Clojure project

2014-01-13 Thread aidy lewis
The problem - if anyone is interested - is that I had not set $JAVA_OPTS in the Emacs config file. Sorry, for being a balloon. Thanks Aidy On 13 January 2014 10:34, aidy lewis wrote: > Hi Softaddicts > > Thanks for the advice, but my aim was to retrieve the JAVA_OPTS from my > environment va

Re: JAVA_OPTS not accessible in my Clojure project

2014-01-13 Thread aidy lewis
Hi Softaddicts Thanks for the advice, but my aim was to retrieve the JAVA_OPTS from my environment variables in order to not hard-code them. Aidy On 13 January 2014 09:46, Softaddicts wrote: > To set java properties on the cmd line you need to enter something like: > > -Djavax.net.ssl.keyStor

Re: JAVA_OPTS not accessible in my Clojure project

2014-01-13 Thread Softaddicts
To set java properties on the cmd line you need to enter something like: -Djavax.net.ssl.keyStore=value try :jvm-opts ["-Djavax.net.ssl.keyStore=full-spec-of-your-file"] Luc P. > Hi Phill, > > Thanks for the heads up. > > I've entered this in project.clj > :jvm-opts ["javax.net.ssl.keyStore"

Re: JAVA_OPTS not accessible in my Clojure project

2014-01-13 Thread aidy lewis
Hi Phill, Thanks for the heads up. I've entered this in project.clj :jvm-opts ["javax.net.ssl.keyStore"] Restarted the CIDER REPL and entered in core.clj (System/getProperty "javax.net.ssl.keyStore") I evaluated that expression and it returns nil. But, if I go to the command-line and at the r

Re: JAVA_OPTS not accessible in my Clojure project

2014-01-12 Thread Matching Socks
The Leiningen sample project https://github.com/technomancy/leiningen/blob/master/sample.project.clj refers to a :jvm-opts key and a JVM_OPTS environment variable. -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send ema

Re: JAVA_OPTS not accessible in my Clojure project

2014-01-12 Thread dennis zhuang
Tried System/getenv ? 2014/1/12 aidy lewis > Hi Phil, > > M-x cider-jack-in, but the JAVA_OPT properties are also nil if I do a lein > run. > > Thanks > > Aidy > > > On 12 January 2014 05:25, Matching Socks wrote: > >> How did you start the Emacs Cider REPL? >> >> -- >> -- >> You received thi

Re: JAVA_OPTS not accessible in my Clojure project

2014-01-12 Thread aidy lewis
Hi Phil, M-x cider-jack-in, but the JAVA_OPT properties are also nil if I do a lein run. Thanks Aidy On 12 January 2014 05:25, Matching Socks wrote: > How did you start the Emacs Cider REPL? > > -- > -- > You received this message because you are subscribed to the Google > Groups "Clojure"

Re: JAVA_OPTS not accessible in my Clojure project

2014-01-11 Thread Matching Socks
How did you start the Emacs Cider REPL? -- -- 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 uns

Re: JAVA_OPTS not accessible in my Clojure project

2014-01-10 Thread aidy lewis
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/get

Re: JAVA_OPTS not accessible in my Clojure project

2014-01-10 Thread juan.facorro
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 > > pro

JAVA_OPTS not accessible in my Clojure project

2014-01-10 Thread aidy lewis
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 => (