On Sat, Oct 23, 2010 at 8:53 AM, Ralph <grkunt...@gmail.com> wrote: > Won't work. The "def" gets executed at compile time, before the JAR > file exists. >
I'm very confused by what you mean by this. If I do the following, I get a new random value every time I run it, which does not seem to match what you are saying: (ns demo.core (:gen-class)) (def version (.nextInt (java.util.Random.))) (defn -main [] (prn version)) -- 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 Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en