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 <lprefonta...@softaddicts.ca> wrote: > 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"] > > > > 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 root of the project type > 'lein > > repl' > > > > a-project.core=> (System/getProperty "javax.net.ssl.keyStore") > > > > The certificate path is returned > > > > > ./certs/dev.bbc.co.uk.p12\ > > > > Many Thanks > > > > Aidy > > > > > > > > > > > > On 13 January 2014 00:25, Matching Socks <phill.w...@gmail.com> wrote: > > > > > 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 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. > > > -- > Softaddicts<lprefonta...@softaddicts.ca> sent by ibisMail from my ipad! > > -- > -- > 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.