You need to set the http_proxy variable for lein to work behind a peoxy.
Maybe the https_proxy too.

If your proxy does man-in-the-middle style https interception, you might
also need to downgrade leiningen to 2.3.x, depending on how badly the proxy
server is configured.

The syntax of http_proxy is

http://user:password@host:port

So, on unix:

export http_proxy=http://user:passw...@example.com:8080
export https_proxy=$http_proxy

On Windows, you can set environment variables from the system properties
(advanced tab or something, iirc).

On Tuesday, 9 December 2014, Ganesh Krishnamoorthy <ganesh....@gmail.com>
wrote:

> That helped, Thanks! The Clojure CLR seems to be working a bit different.
> It insists on a ns, creates an exe by ns and its readily run-able.
> I gave Lein a shot too, but apparently its looking for some dependencies
> to be downloaded, I am behind a proxy so that dint work too...
> Is there a dependencies distrib i can download and place it?
>
> On Monday, December 8, 2014 7:32:16 PM UTC+5:30, Ganesh Krishnamoorthy
> wrote:
>>
>> I have been trying all my bit on to get my hello world working; Any help
>> is much appreciated...
>>
>> am trying to run it by
>> java -cp clojure-1.6.0.jar clojure.main hey.clj
>> I just get an empty line.
>> Below is my file:
>>
>> (defn -main
>>   []
>>   (println "Hello World!")
>>   (println (- 1 1)))
>>
>>  --
> 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
> <javascript:_e(%7B%7D,'cvml','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
> <javascript:_e(%7B%7D,'cvml','clojure%2bunsubscr...@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
> <javascript:_e(%7B%7D,'cvml','clojure%2bunsubscr...@googlegroups.com');>.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/d/optout.

Reply via email to