On Tue, Mar 3, 2009 at 12:58 AM, zodoz <zdz.r...@gmail.com> wrote:
>
> I'm just larning Clojure and have been able to figure out everything
> so far via trial-and-error.  However, I cannot for the LIFE of me
> figure out how to compile anything.  I have tried every possible setup
> I can think of and I all I have is a sneaking suspicion that its a
> Vista issue.
>
> Below I have listed my setup to make this as complete a question as I
> can, however the error I am getting is "java.io.IOException: The
> system cannot find the path specified (test.clj:1)" so I don't expect
> the problem to be with how my filesystem is setup but rather with
> classpaths.  Any suggestions and thanks in advance?
>
> I have a simple extraction of the latest files, inside the "clojure"
> folder I have renamed the orrigonal "src" folder to "srcb" so that I
> can single out only my code.  I have a test.clj file whose contents
> are (basically the example given on the main site):
> (ns test
>        (:gen-class))
>
> (defn -main
>        [gre]
>        (println (str "Hello " gre))
>
> I have the following folder/file setup:
> clojure/
> ->clojure/classes
> ->clojure/src
> -->clojure/src/test
> --->clojure/src/test/test.clj
> -->clojure/src/test.clj
> ->clojure/test.clj
>
> Each of these test.clj files have their own ns as either "test" or
> "test.test" depending on where they are in the filesystem.  The
> exception is the one in the clojure folder, this one I have tested it
> with both.

The step-by-step instructions at
http://www.ociweb.com/mark/clojure/article.html#Compiling might help,
especially step #8 related to setting the classpath.

-- 
R. Mark Volkmann
Object Computing, Inc.

--~--~---------~--~----~------------~-------~--~----~
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