Archive for the 'clojure' Category

Jan 21 2010

Setting Up Incanter and MySQL

Published by tim under clojure, coding

Okay, Lein really does make stuff pretty easy. Rather than wrestling with eleventybillion classpaths, just install Lein.
Create a new project directory with
lein new mydirectory
Change the project.clj file that is autogenerated with:
defproject mydirectory “1.0.0-SNAPSHOT” :description “FIXME: write”
:dependencies [[org.clojure/clojure "1.1.0-alpha-SNAPSHOT"]
[org.clojure/clojure-contrib "1.0-SNAPSHOT"]
[mysql/mysql-connector-java "5.1.6"]
[incanter/incanter "1.0-master-SNAPSHOT"]])
(that is, [...]

No responses yet

Next »