Re: Compiling problem.

2009-03-03 Thread Achim Passen
Hi! Are you using the release version from clojure.org? I remember this one having a strange *compile-path* default when started as clojure.main (something like "/Users/rich/..."), but defaulting to "classes" when started as clojure.lang.Repl ... Kind regards, achim Am 03.03.2009 um 22:2

Re: Compiling problem.

2009-03-03 Thread zodoz
I found the solution (though I'm still in the process of understanding why it works): java -cp clojure.jar;.\src;.\classes clojure.lang.Repl user=> (compile 'test.test) On Mar 3, 10:56 am, zodoz wrote: > Same thing.  I even tried putting (compile 'test.test) in the src/test/ > test.clj file and

Re: Compiling problem.

2009-03-03 Thread zodoz
Same thing. I even tried putting (compile 'test.test) in the src/test/ test.clj file and loading it with "java - classpath .;src;classes;clojure.jar clojure.main src/test/test.clj". If it helps, the full error I am getting now is: java.io.IOException: The system cannot find the path specified (t

Re: Compiling problem.

2009-03-03 Thread Laurent PETIT
You cannot have both a classpath full of jars and directories (via the -cp option) and run directly from a jar. Try java -classpath .;src;classes;clojure.jar clojure.main" instead (http://clojure.org/repl_and_main) 2009/3/3 zodoz > > *sigh*... Still no joy. I've looked around for how to use

Re: Compiling problem.

2009-03-03 Thread zodoz
*sigh*... Still no joy. I've looked around for how to use the command and I finally got it to stop giving me directory permission errors, but Java still does not seem to be liking it. I am now running it with "java -classpath .;src;classes -jar clojure.jar", but when I run (compile 'test) or (c

Re: Compiling problem.

2009-03-03 Thread Mark Volkmann
On Tue, Mar 3, 2009 at 12:58 AM, zodoz wrote: > > I'm just larning Clojure and have been able to figure out everything > so far via trial-and-error.  However, I cannot for the LIFE of me > figure out how to compile anything.  I have tried every possible setup > I can think of and I all I have is

Compiling problem.

2009-03-03 Thread zodoz
I'm just larning Clojure and have been able to figure out everything so far via trial-and-error. However, I cannot for the LIFE of me figure out how to compile anything. I have tried every possible setup I can think of and I all I have is a sneaking suspicion that its a Vista issue. Below I hav