Skip to content

Problems installing swank-clojure behind a proxy with leiningen 2.0.0 #114

Closed
daniel6651 opened this Issue Mar 13, 2012 · 3 comments

2 participants

@daniel6651

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
and more...

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?

Daniel

@technomancy
Owner

Leiningen 2 doesn't have any support for proxies yet. If you would like to help add it, that would be welcome.

@daniel6651
@technomancy
Owner

Oops; I forgot that @zamaterian has already started working on this; sorry! Maybe you can coordinate with him?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.