Hi,

Am 11.07.2009 um 15:12 schrieb alfred.morgan.al...@gmail.com:

And get:

java.io.IOException: No such file or directory (character.clj:5)

(-line 5 is where the ns declaration is made.)  What am I doing wrong
here?

The source as well as the classes directory must be on the
classpath. I suggest to add one level of subdirectories with
the "src" directory. That is: put character.clj into src/sov/sim
instead of sov/sim.

Then make a directory named "classes".

Then compile:
java -cp src:classes:clojure.jar clojure.main -r
user=> (compile 'sov.sim.character)

See also: http://clojure.org/compilation

Hope this helps.

Sincerely
Meikel

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to