Re: Running clojure-contrib.jar

2008-12-09 Thread janus
Thanks All, It's working now,I followed Stuarts instructions(example 1). Emeka --~--~-~--~~~---~--~~ 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 To unsu

Re: Running clojure-contrib.jar

2008-12-08 Thread Michael Wood
On Mon, Dec 8, 2008 at 7:31 PM, janus <[EMAIL PROTECTED]> wrote: > > Stuart >> (1) You are using an old version of Clojure. You will need to build >> Clojure and Clojure-contrib from SVN in order to work through the book >> examples. > When I tried (require 'clojure.contrib.str-utils) > I got 'nil

Re: Running clojure-contrib.jar

2008-12-08 Thread janus
Stuart > (1) You are using an old version of Clojure. You will need to build   > Clojure and Clojure-contrib from SVN in order to work through the book   > examples. When I tried (require 'clojure.contrib.str-utils) I got 'nil' which shows that all is well. I downloaded the most recent binary vers

Re: Running clojure-contrib.jar

2008-12-08 Thread Stuart Halloway
Hi Emeka, Two problems here: (1) You are using an old version of Clojure. You will need to build Clojure and Clojure-contrib from SVN in order to work through the book examples. (2) It is examples (plural) not example (singular). Also, what version of the book are you working from? The mos

Re: Running clojure-contrib.jar

2008-12-08 Thread Randall R Schulz
On Monday 08 December 2008 08:17, janus wrote: > ... > > > However, I still get error when I try to do > (require 'example.introduction) > Error Message: Cloud not locate Clojure resource on classpath: > example/introduction/introduction.clj Then you haven't given or have given an incorrect path

Re: Running clojure-contrib.jar

2008-12-08 Thread janus
Hi All, It is working now. I found that I followed the instruction provided by the author blindly, it was not meant for the windows box(vista) I am using. The problem is on path separation, the book used forward slash instead of backward slash. The solution: SET CLASSPATH=\clojure\clojure\clojure

Re: Running clojure-contrib.jar

2008-12-06 Thread Parth Malwankar
On Dec 7, 3:51 am, janus <[EMAIL PROTECTED]> wrote: > All, > > It is my mistake, this is the error once again. Failed to load Main- > Class manifest attribute from C:\clojure\clojure\clojure-contrib.jar. > I did what Shulz said , however , I still have the same problem. > Could you copy the err

Re: Running clojure-contrib.jar

2008-12-06 Thread Randall R Schulz
On Saturday 06 December 2008 14:51, janus wrote: > All, > > It is my mistake, this is the error once again. Failed to load Main- > Class manifest attribute from C:\clojure\clojure\clojure-contrib.jar. > I did what Shulz said , however , I still have the same problem. Two things: 1) My name is Sc

Re: Running clojure-contrib.jar

2008-12-06 Thread Dave Newton
--- On Sat, 12/6/08, janus wrote: > It is my mistake, this is the error once again. Failed to > load Main-Class manifest attribute from > C:\clojure\clojure\clojure-contrib.jar. > I did what Shulz said, however, I still have the same problem. Can you post the *exact* classpath and/or files and/or

Re: Running clojure-contrib.jar

2008-12-06 Thread janus
All, It is my mistake, this is the error once again. Failed to load Main- Class manifest attribute from C:\clojure\clojure\clojure-contrib.jar. I did what Shulz said , however , I still have the same problem. Emeka On Dec 6, 7:17 pm, Stuart Halloway <[EMAIL PROTECTED]> wrote: > If you have a sp

Re: Running clojure-contrib.jar

2008-12-06 Thread Stuart Halloway
If you have a space between "jar" and ";" that is a problem. Stuart >> Start by telling us precisely what you did to "run clojure." > > I have the below in my batch file > SET CLASSPATH=/clojure/clojure/clojure.jar ;\ > /clojure/clojure/clojure-contrib.jar;\ > java clojure.lang.Repl > > To run m

Re: Running clojure-contrib.jar

2008-12-06 Thread Randall R Schulz
On Saturday 06 December 2008 08:10, janus wrote: > >Start by telling us precisely what you did to "run clojure." > > I have the below in my batch file > SET CLASSPATH=/clojure/clojure/clojure.jar ;\ > /clojure/clojure/clojure-contrib.jar;\ > java clojure.lang.Repl The instructions are these: SET

Re: Running clojure-contrib.jar

2008-12-06 Thread janus
Dave, > Plus I'm pretty suspicious of that semicolon. Which one are you referring to? Emeka On Dec 6, 4:05 pm, Dave Newton <[EMAIL PROTECTED]> wrote: > --- On Sat, 12/6/08, Randall R Schulz wrote: > > > On Saturday 06 December 2008 03:18, janus wrote: > >> I got" Failed to load Main-Class man

Re: Running clojure-contrib.jar

2008-12-06 Thread janus
>Start by telling us precisely what you did to "run clojure." I have the below in my batch file SET CLASSPATH=/clojure/clojure/clojure.jar ;\ /clojure/clojure/clojure-contrib.jar;\ java clojure.lang.Repl To run means clicking batch file. I followed the instructiom from Clojure Programming Book.

Re: Running clojure-contrib.jar

2008-12-06 Thread Dave Newton
--- On Sat, 12/6/08, Randall R Schulz wrote: > On Saturday 06 December 2008 03:18, janus wrote: >> I got" Failed to load Main-Class manifest attribute from C;/clojure/ >> clojure/clojure" when I tried to run clojure. > > Start by telling us precisely what you did to "run clojure." [...] Plus I'm

Re: Running clojure-contrib.jar

2008-12-06 Thread Randall R Schulz
On Saturday 06 December 2008 03:18, janus wrote: > I got" Failed to load Main-Class manifest attribute from C;/clojure/ > clojure/clojure" when I tried to run clojure. Could someone assist me > in getting this solved. Start by telling us precisely what you did to "run clojure." Also, your Subjec

Running clojure-contrib.jar

2008-12-06 Thread janus
I got" Failed to load Main-Class manifest attribute from C;/clojure/ clojure/clojure" when I tried to run clojure. Could someone assist me in getting this solved. Emeka --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups