Using eclipse to edit files is OK but *don't use it manage your dependencies in Clojure.*
You should use leiningen to manage additions to your project. After starting a project with lein new projectName you can edit the project.clj file in the folder that is created. You'll see something like this (defproject projectName "1.0.0-SNAPSHOT" :description "FIXME: write description" :dependencies [[org.clojure/clojure "1.2.1"]]) To add libraries to the project, add values to the vector under dependencies such that each new library is in [] brackets and has [library-name "version"] So for instance, to add debug-repl (defproject projectName "1.0.0-SNAPSHOT" :description "FIXME: write description" :dependencies [[org.clojure/clojure "1.2.1"] [org.clojars.gjahad/debug-repl "0.3.1"] ; library-name in this case is org.clojars.gjahad/debug-repl & version is "0.3.1" ]) To change it to clojure 1.3.0, change the version next to org.clojure/clojure to 1.3.0 (defproject projectName "1.0.0-SNAPSHOT" :description "FIXME: write description" :dependencies [[org.clojure/clojure "1.3.0"]]) After changing org.clojure/clojure to 1.3.0, the rules are the same for adding dependencies. Clojure 1.3 doesn't actually use the contributions library anymore. Each contribution is now in it's own library. You can read this for info on what to include for different libraries. http://dev.clojure.org/display/design/Where+Did+Clojure.Contrib+Go On Wed, Feb 29, 2012 at 6:53 PM, Lawrence <ld...@savant-is.com> wrote: > Hello, > > I have clojure 1.2 and eclipse, with contrib, running together, but I > don't understand how clojure 1.3 and eclipse integrate with the > contributions. It seems like it's simplily a matter of getting a > contrib from github and what? running it through lein and using the > jar file? adding the source to the project source? > > Normally with a java project I would just compile the library and add > it to the eclipse class path, but that does not seem to work. > > Can anyone point me to an explanation on how to add a contrib to a > project when using eclipse? > > thanks, Lawrence > > -- > 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 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