Installing swank-clojure on my home computer which is not behind a proxy works fine. But from my virtual-box ubuntu linux at my workplace which is behind a proxy I can't get it working.
After running into heaps of problems trying to install swank-clojure with leiningen 1.7.0 I finally found an Issue here saying that it should probably work with leiningen 2.0.0.
So I installed leiningen 2.0.0, created a new dummy project, updated the project file with a line
:plugins [[lein-swank "1.4.3"]]
Having http_proxy/https_proxy & ~/.m2/settings.xml updated with my proxy settings.
ran lein deps
and then tried both clojure-jack-in from emacs and lein swank from the shell and both result in exceptions:
org.sonatype.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for swank-clojure:swank-clojure:jar:1.4.0
Tried setting JVM_OPTS to "-Dhttp.proxyHost=proxyserver.com -Dhttp.proxyPort=8080"
Googling for Aether proxy setup doesn't give anything either - except for the Java API.
So any idea on how I can get this working behind a proxy?
Leiningen 2 doesn't have any support for proxies yet. If you would like to help add it, that would be welcome.
Oops; I forgot that @zamaterian has already started working on this; sorry! Maybe you can coordinate with him?