I wrote (below) about being unable to get "load" to work from the slime repl 
after completing the emacs/cake/swank/slime setup that Sam presented in helpful 
video. 

Now I think it's a more general problem of not setting the classpath correctly. 
If I try to :use something in the ns form in a file, for which I have a .clj 
file in the same directory as the core.clj that cake created, then when I 
evaluate the buffer in emacs the required file is not found.

How and where do I set up the classpath so that this will work (using 
emacs/cake/swank/slime)? If possible I'd like to set it up so that it always 
finds anything anywhere in the cake project directory, including .clj files in 
src/.

Thanks,

 -Lee


>> On Jun 21, 11:09 pm, Lee Spector <lspec...@hampshire.edu> wrote:
>>> On Jun 16, 2011, at 11:16 AM, Sam Aaron wrote:
>>> 
>>>> I just finished making a screencast primarily for new Overtone users on 
>>>> how to get set up with Emacs as a primary editor:
>>> 
>>>> http://vimeo.com/25190186
>>>> 
>>> 
>>> - I also can't get (load "core"), or any variant that I could think of, 
>>> when typed in the REPL to find the file. When I look at the classpath with 
>>> (seq (.getURLs (java.lang.ClassLoader/getSystemClassLoader))) I see some of 
>>> my project's files there, so it "knows" about the project, but it doesn't 
>>> find my file in the src directory that cake created.
>> 
> 

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