Having trouble figuring out dependencies

2011-06-15 Thread octopusgrabbus
I have clojure-1.2.1.jar. It is in my classpath. I am trying to build a very simple hello world project with cake, and have two dependencies: org.clojure:clojure:jar:1.1.0-master-SNAPSHOT org.clojure:clojure-contrib:jar:1.0-SNAPSHOT Is this a cake dependency? I can't figure out why cake needs

Re: Having trouble figuring out dependencies

2011-06-15 Thread octopusgrabbus
I've found the missing Clojure releases on github, will unpack and put in my CLASSPATH. On Jun 15, 10:57 am, octopusgrabbus octopusgrab...@gmail.com wrote: I have clojure-1.2.1.jar. It is in my classpath. I am trying to build a very simple hello world project with cake, and have two

Re: Having trouble figuring out dependencies

2011-06-15 Thread Ambrose Bonnaire-Sergeant
Hi cmn, Cake manages your dependencies via maven, you shouldn't need to worry about classpaths or local jars. Do you have a project.clj file in your project root? Can you post it here? Thanks, Ambrose On Wed, Jun 15, 2011 at 10:57 PM, octopusgrabbus octopusgrab...@gmail.comwrote: I have

Re: Having trouble figuring out dependencies

2011-06-15 Thread octopusgrabbus
Here is the project.clj (defproject helloworld 0.1 :dependencies [[org.clojure/clojure 1.1.0-master-SNAPSHOT] [org.clojure/clojure-contrib 1.0-SNAPSHOT]] :main helloworld) but I've had an aha moment. Nothing prevents me from

Re: Having trouble figuring out dependencies

2011-06-15 Thread Ambrose Bonnaire-Sergeant
On Wed, Jun 15, 2011 at 11:26 PM, octopusgrabbus octopusgrab...@gmail.comwrote: Here is the project.clj (defproject helloworld 0.1 :dependencies [[org.clojure/clojure 1.1.0-master-SNAPSHOT] [org.clojure/clojure-contrib

Re: Having trouble figuring out dependencies

2011-06-15 Thread octopusgrabbus
I happened to have clojure-contrib 1.2.0 changed that dependency, and it built. Many thanks. On Jun 15, 11:43 am, Ambrose Bonnaire-Sergeant abonnaireserge...@gmail.com wrote: On Wed, Jun 15, 2011 at 11:26 PM, octopusgrabbus octopusgrab...@gmail.comwrote: Here is the project.clj (defproject

Re: Having trouble figuring out dependencies

2011-06-15 Thread Mark Rathwell
Just to be clear, you do not need to download and build all of your dependencies, and you do not need to worry about whether they are on your classpath. I don't know cake, but I assume it is similar to leiningen in that is manages all of your dependencies for you, via maven, and again, if like