you could try running this test script:
http://gist.github.com/179346
the script downloads clojure and does a test aot compile.
if everything works the only output you should see is "Hello World"
example:
hiredman rincewind ~% sh ./clojure-aot-test.sh
Hello World
On Tue, Sep 1, 2009 at 11:3
Just build it :-)
I used the source at http://github.com/richhickey/clojure/tree/master to
build the clojure.jar Now everything works fine.
Terrance Davis wrote:
> The details help a lot. I was able to ensure I am doing the same steps
> with a file not found exception instead of a working file
The details help a lot. I was able to ensure I am doing the same steps
with a file not found exception instead of a working file.
I notice that the you used 'clojure.jar' whereas I am using
'clojure-1.0.0.jar'. Did you happen to compile your clojure.jar from
source? I used the current release dow
On Sep 1, 5:03 pm, Terrance Davis wrote:
> Okay. Here's some additional information.
>
> I have tried on OS X 10.6 and Vista and no dice either place. I am NOT
This works for me on Mac:
krukow:~/examples$ ls -R
classes clojure.jar src
./classes:
./src:
clojure
./src/clojure:
exampl
Okay. Here's some additional information.
I have tried on OS X 10.6 and Vista and no dice either place. I am NOT
placing the AOT classes in the system classpath. I am intentionally
using only the -cp command line argument. Also, I make sure the *.clj
scripts are NOT in the path after compiling as
Hi,
sorry. I'm off. Your example works for me on 1.5 on Windows as it does
work for me on Mac with 1.5 and 1.6.
Sincerely
Meikel
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group
Thanks. I should probably clarify.
I have managed to compile the classes using (add-classpath ""). My
problem is using the compiled classes. The example code is here:
http://clojure.org/compilation
Namely...
(ns clojure.examples.hello
(:gen-class))
(defn -main
[greetee]
(println (str "
Hi,
On Sep 1, 6:58 am, Terrance Davis wrote:
> It seems like every path I set from "java -cp" is ignored from inside
> of REPL, main or calling AOT classes. In fact, when I start Clojure
> from a directory, I have to explicitly (add-classpath
> "file:///some/path/") from REPL to compile clj fi
Clojure is great. I have begun integrating Clojure v1.0 into my
current project. I seem to be missing something real easy, ...
It seems like every path I set from "java -cp" is ignored from inside
of REPL, main or calling AOT classes. In fact, when I start Clojure
from a directory, I have to exp