Best practices in building and deploying Clojure applications: good tutorials?

A couple of quick hints, then some links: Don’t use lein uberjar during development; prefer lein jar. The difference is that lein uberjar puts all your dependencies in the generated jar (including Clojure itself), so that your single jar is an entirely self contained package with your app inside; lein jar only jars your own … Read more

leiningen – how to add dependencies for local jars?

Just use :resource-paths in your project.clj file. I use it, e.g. to connect to Siebel servers. Just created a resources directory in my project directory and copied the jar files in there. But of course you could use a more generic directory: (defproject test-project “0.1.0-SNAPSHOT” :description “Blah blah blah” … :resource-paths [“resources/Siebel.jar” “resources/SiebelJI_enu.jar”]) Then from … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)