On Wed, Jun 15, 2011 at 11:26 PM, octopusgrabbus <octopusgrab...@gmail.com>wrote:
> 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) > > This should work (untested): (defproject helloworld "0.1" :dependencies [[org.clojure/clojure "1.2.1"] [org.clojure/clojure-contrib "1.2"]] :main helloworld) Then run "cake deps" to resolve the deps. but I've had an aha moment. Nothing prevents me from changing the > dependencies, but to what, the latest, and why not locally? I'm just > not sure of the local directory syntax in this instance. > > Cake resolves your dependencies the maven repositories and then caches it internally. This is usually simpler than manually downloading and managing your dependencies, possibly even for a "hello world". > > On Jun 15, 11:06 am, Ambrose Bonnaire-Sergeant > <abonnaireserge...@gmail.com> wrote: > > 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.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 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 these > > > other jar files. > > > > > Also, where can I find the jar files or sources to build them? > > > > > Thanks. > > > cmn > > > > > -- > > > 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 > -- 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