On Sep 10, 9:48 pm, Kugathasan Abimaran <[email protected]> wrote:
> Follow these instructions, it will
> work..http://riddell.us/ClojureWithEmacsSlimeSwankOnUbuntu.html
>
Sadly, the instructions break right where it says:
Add the following:
(defproject test-project "0.1.0"
:description "Test Project"
:dependencies [[org.clojure/clojure "1.2.0-master-SNAPSHOT"]
[org.clojure/clojure-contrib "1.2.0-SNAPSHOT"]]
:dev-dependencies [[swank-clojure "1.2.1"]])
It isn't clear to me if that should be added *after* the
(defproject...
at the beginning of project.clj, or in place of the default
(defproject..., but in any case I tried both ways. I always get
the following error:
Downloading: org/clojure/clojure/1.2.0-master-SNAPSHOT/clojure-1.2.0-
master-SNAPSHOT.pom from clojars
Downloading: org/clojure/clojure-contrib/1.2.0-SNAPSHOT/clojure-
contrib-1.2.0-SNAPSHOT.pom from clojars
Downloading: org/clojure/clojure/1.2.0-master-SNAPSHOT/clojure-1.2.0-
master-SNAPSHOT.jar from clojars
Downloading: org/clojure/clojure-contrib/1.2.0-SNAPSHOT/clojure-
contrib-1.2.0-SNAPSHOT.jar from clojars
An error has occurred while processing the Maven artifact tasks.
Diagnosis:
Unable to resolve artifact: Missing:
----------
1) org.clojure:clojure:jar:1.2.0-master-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.clojure -
DartifactId=clojure -Dversion=1.2.0-master-SNAPSHOT -Dpackaging=jar -
Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=org.clojure -
DartifactId=clojure -Dversion=1.2.0-master-SNAPSHOT -Dpackaging=jar -
Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.maven:super-pom:jar:2.0
2) org.clojure:clojure:jar:1.2.0-master-SNAPSHOT
2) org.clojure:clojure-contrib:jar:1.2.0-SNAPSHOT
Try downloading the file manually from the project website.
...
I'm brand new to clojure and really want to get it working according
to this tutorial, and its a shame to have to stop after I've gotten
this far. I'd really appreciate any advice on how to get this
working. TIA.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en