Without including gen in the classpath, the following exception is
reported:

$ java -cp clojure.jar clojure.lang.Repl
Exception in thread "main" java.lang.ExceptionInInitializerError
        at clojure.lang.Repl.<clinit>(Repl.java:23)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException:
java.lang.ClassNotFoundException:
clojure.core$eval__1 (core.clj:
0)
        at clojure.lang.RT.<clinit>(RT.java:325)
        ... 1 more
Caused by: java.lang.RuntimeException:
java.lang.ClassNotFoundException: clojure.core$eval__1 (core.c
lj:
0)
        at clojure.lang.Compiler.eval(Compiler.java:4131)
        at clojure.lang.Compiler.load(Compiler.java:4447)
        at clojure.lang.RT.loadResourceScript(RT.java:366)
        at clojure.lang.RT.loadResourceScript(RT.java:357)
        at clojure.lang.RT.doInit(RT.java:380)
        at clojure.lang.RT.<clinit>(RT.java:321)
        ... 1 more

On Nov 9, 1:45 pm, Craig McDaniel <[EMAIL PROTECTED]> wrote:
> Previously, I could run clojure with:
>
> java -cp clojure.jar clojure.lang.Repl
>
> After building clojure.jar from a more recent SVN version (1092) that
> includes AOT and generated classes, it looks like I have to now
> include the generated classes in the classpath (running from trunk
> directory):
>
> java -cp clojure.jar:gen clojure.lang.Repl
>
> ...and that only works on the second attempt, after the files in the
> gen directory have been created.
>
> Shouldn't the build.xml file be modified to include these gen files in
> clojure.jar?
--~--~---------~--~----~------------~-------~--~----~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to