Re: How to use clojure-contrib library

2010-05-12 Thread Meikel Brandmeyer
Hi, On 12 Mai, 13:06, Luc Préfontaine wrote: > I checked and yes it's a 1.2 feature in contrib. So check out the master > branch of both projects (clojure and clojure-contrib) and build them > to get the latest snapshots. Beware that the jar file names will not be > the same so change your class

Re: How to use clojure-contrib library

2010-05-12 Thread Luc Préfontaine
I checked and yes it's a 1.2 feature in contrib. So check out the master branch of both projects (clojure and clojure-contrib) and build them to get the latest snapshots. Beware that the jar file names will not be the same so change your class path accordingly. Luc On Tue, 2010-05-11 at 22:57 -07

Re: How to use clojure-contrib library

2010-05-11 Thread Mat
Looking at the source in the master branch on Github, string.clj is present, but if I look into the 1.1.x branch, it's not. I will try to checkout the source from Github and compile it directly. Matteo On May 12, 7:51 am, Mat wrote: > Luc, > > I'm using the latest one, v1.1.0. I downloaded it >

Re: How to use clojure-contrib library

2010-05-11 Thread Mat
Luc, I'm using the latest one, v1.1.0. I downloaded it here: http://code.google.com/p/clojure-contrib/downloads/list I'm using the same version for clojure.jar. The strange thing is that when I inspect the content of the jar, there is no clojure/contrib/string, but only clojure/contrib/str_utils

Re: How to use clojure-contrib library

2010-05-11 Thread Luc Préfontaine
Matteo, which version of clojure-contrib are you using ? The latest has the String class but an earlier version may not have it. To see the content: jar -tf clojure-contrib.jar You should see a string.clj in the list of components in the library and some string$xxx.class files. If not you are u

Re: How to use clojure-contrib library

2010-05-11 Thread patrik karlin
so i dont se clojure.contrib.string in the contrib the documentation is maybe lagin? 2010/5/11 Mat > > On May 11, 7:41 am, Mat wrote: > > Thank you very much, this time it worked perfectly. > > I knew it was very easy, but I could not figure it out not having all > > that java/shell experience.

Re: How to use clojure-contrib library

2010-05-11 Thread Mat
On May 11, 7:41 am, Mat wrote: > Thank you very much, this time it worked perfectly. > I knew it was very easy, but I could not figure it out not having all > that java/shell experience. I'm sorry to bother you again with this silly question, but on the contrary of what I said I'm still not able

Re: How to use clojure-contrib library

2010-05-11 Thread Luc Préfontaine
Oups, I stopped using windows for so long that I forgot about the semi-colon thing :))) That frees a lot of memory for other stuff... Luc On Tue, 2010-05-11 at 08:38 +0200, Michael Wood wrote: > On 11 May 2010 03:30, Luc Préfontaine wrote: > > > > Hi, > > > > The trick is to get contrib on the

Re: How to use clojure-contrib library

2010-05-11 Thread Mat
Thank you very much, this time it worked perfectly. I knew it was very easy, but I could not figure it out not having all that java/shell experience. At one point I also tried something like this, with the colon, but it did not work, so probably I mistook the order or something. Thank you. Matteo

Re: How to use clojure-contrib library

2010-05-11 Thread patrik karlin
you should learn how the java class paths works but take a look At http://github.com/technomancy/leiningen i wish i would how found that earlier. 2010/5/10 Mat > Hi all, > I am totally new to clojure and this is a very simple question, but I > spent the last two hours trying to figure this out

Re: How to use clojure-contrib library

2010-05-10 Thread Michael Wood
On 11 May 2010 03:30, Luc Préfontaine wrote: > > Hi, > > The trick is to get contrib on the class path of java so it can find the > content of the library. > The class path defines were Java will search for the components (classes in > Java) to load while running. > Clojure code is compiled on t

Re: How to use clojure-contrib library

2010-05-10 Thread Luc Préfontaine
Hi, The trick is to get contrib on the class path of java so it can find the content of the library. The class path defines were Java will search for the components (classes in Java) to load while running. Clojure code is compiled on the fly and ends up as a being loaded as a Java class and may be

How to use clojure-contrib library

2010-05-10 Thread Mat
Hi all, I am totally new to clojure and this is a very simple question, but I spent the last two hours trying to figure this out and I need help. I'm not able to use the clojure-contrib library and I am not able to find instructions here on this group and anywhere on the web. Maybe because this sh