Having trouble figuring out dependencies
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
Re: Having trouble figuring out dependencies
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 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
Re: Having trouble figuring out dependencies
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 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
Re: Having trouble figuring out dependencies
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 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. 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.comwrote: 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
Re: Having trouble figuring out dependencies
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 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.comwrote: 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
Re: Having trouble figuring out dependencies
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 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.comwrote: 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
Re: Having trouble figuring out dependencies
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 leiningen, it will manage getting everything in your project's classpath for you. So, you just specify your dependencies in your project.clj, and run deps and via maven it will search some public repositories on the internet to find those dependencies, and install them automatically in your local maven repository. On Wed, Jun 15, 2011 at 11:51 AM, octopusgrabbus octopusgrab...@gmail.comwrote: 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 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.comwrote: 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 -- 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