Re: classpath and require

2010-06-19 Thread Mohammad Khan
Yes, exactly it was, also at some point I was trying examples/introduction (ruby's require like statement) instead of examples.introduction which all together made me lost. Thanks everybody for your help. Thanks, Mohammad On Sat, Jun 19, 2010 at 11:59 AM, Michael Wood wrote: > On 19 June 2010

Re: classpath and require

2010-06-19 Thread Mohammad Khan
Correction, it worked.. On Fri, Jun 18, 2010 at 6:19 PM, Mohammad Khan wrote: > No, it didn't work.. what else I could be missing.. > > > On Fri, Jun 18, 2010 at 5:56 PM, Rob Lachlan wrote: > >> Whoops, that should read: >> >> java -cp c:\clojure-contrib\clojure-contrib.jar;c:\clojure >> \cloju

Re: classpath and require

2010-06-19 Thread Michael Wood
On 19 June 2010 17:46, Rob Lachlan wrote: > I was wondering whether putting a dot in a directory on the classpath > makes a difference.  On OS X, the answer is no.  Unfortunately, I > don't have a windows machine, so I can't check for certain what the > situation is there. No, rzezeski found the

Re: classpath and require

2010-06-19 Thread Rob Lachlan
I was wondering whether putting a dot in a directory on the classpath makes a difference. On OS X, the answer is no. Unfortunately, I don't have a windows machine, so I can't check for certain what the situation is there. Another issue: I ignored case-sensitivity in my answer above. Are windows

Re: classpath and require

2010-06-19 Thread Rasmus Svensson
2010/6/18 Mohammad Khan > C:\Projects.clj>java -cp > c:\clojure-contrib\clojure-contrib.jar;c:\clojure\clojure.jar clojure.main > Clojure 1.1.0-alpha-SNAPSHOT > user=> (require 'examples.introduction) > java.io.FileNotFoundException: Could not locate > examples/introduction__init.class or example

Re: classpath and require

2010-06-18 Thread rzeze...@gmail.com
On Jun 18, 5:00 pm, Mohammad Khan wrote: > C:\Projects.clj>java -cp > c:\clojure-contrib\clojure-contrib.jar;c:\clojure\clojure.jar clojure.main > Clojure 1.1.0-alpha-SNAPSHOT > user=> (require 'examples.introduction) > java.io.FileNotFoundException: Could not locate > examples/introduction__ini

Re: classpath and require

2010-06-18 Thread Mohammad Khan
No, it didn't work.. what else I could be missing.. On Fri, Jun 18, 2010 at 5:56 PM, Rob Lachlan wrote: > Whoops, that should read: > > java -cp c:\clojure-contrib\clojure-contrib.jar;c:\clojure > \clojure.jar;c: > \projects.clj clojure.main > > On Jun 18, 2:51 pm, Rob Lachlan wrote: > > have yo

Re: classpath and require

2010-06-18 Thread Rob Lachlan
Whoops, that should read: java -cp c:\clojure-contrib\clojure-contrib.jar;c:\clojure \clojure.jar;c: \projects.clj clojure.main On Jun 18, 2:51 pm, Rob Lachlan wrote: > have you tried starting with: > > c:\clojure-contrib\clojure-contrib.jar;c:\clojure\clojure.jar;c: > \projects.clj clojure.main

Re: classpath and require

2010-06-18 Thread Rob Lachlan
have you tried starting with: c:\clojure-contrib\clojure-contrib.jar;c:\clojure\clojure.jar;c: \projects.clj clojure.main On Jun 18, 2:00 pm, Mohammad Khan wrote: > C:\Projects.clj>java -cp > c:\clojure-contrib\clojure-contrib.jar;c:\clojure\clojure.jar clojure.main > Clojure 1.1.0-alpha-SNAPSH

classpath and require

2010-06-18 Thread Mohammad Khan
C:\Projects.clj>java -cp c:\clojure-contrib\clojure-contrib.jar;c:\clojure\clojure.jar clojure.main Clojure 1.1.0-alpha-SNAPSHOT user=> (require 'examples.introduction) java.io.FileNotFoundException: Could not locate examples/introduction__init.class or examples/introduction.clj on classpath: (NO_