winXP, java 1.6

On Fri, Feb 5, 2010 at 3:31 PM, Sean Devlin <francoisdev...@gmail.com> wrote:
> What development environment are you using?
>
> On Feb 5, 1:57 pm, Mike Jarmy <mja...@gmail.com> wrote:
>> I'm writing a clojure program which is getting sort of large, so I'd
>> like to split it up into separate source files.  However, I'm having
>> trouble figuring out how to tell the files about each other's
>> existence.  I'd like all the source files to be in the same
>> namespace.  Can someone straighten me out?  Here is a typical example
>> of the sort of things that I've tried:
>>
>>     java -cp .;lib/clojure.jar clojure.main foo.clj
>>
>> yields
>>
>>     java.io.FileNotFoundException: Could not locate
>> foo_util__init.class or foo_util.clj on classpath:
>>
>> with the following source files (all in the same directory that I'm
>> running clojure.main from)
>>
>> -------------------------------
>> foo.clj:
>>
>>     (ns foo)
>>
>>     (require 'foo-util)
>>
>>     (defn main []
>>       (print "hello from main\n")
>>       (frob))
>>
>>     (main)
>>
>> -------------------------------
>> foo-util.clj
>>
>>     (ns foo)
>>
>>     (defn frob []
>>       (print "hello from frob\n"))
>
> --
> 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

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

Reply via email to