I have the following structure setup:

In ~/src/foo/bar/alpha.clj :

(ns foo.bar.alpha
  (:require (foo.bar beta)))
(println (get-stuff))

In ~/src/foo/bar/beta.clj :

(ns foo.bar.beta)
(defn get-stuff [] "from beta")

When I run this command:
java -cp .:~/src/clojure/clojure.jar clojure.lang.Script foo/bar/
alpha.clj

I get this error:
Exception in thread "main" java.lang.Exception: Unable to resolve
symbol: get-stuff in this context (alpha.clj:4)

I am relatively new to the Java world, so I'm sure I'm missing
something regarding the classpath or the namespace.

Thanks,
Kevin Albrecht

--~--~---------~--~----~------------~-------~--~----~
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 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to