Oops: Ignore my last "BTW" -- now load works for me too. Not sure why it didn't previously. I'd still like to know where it is specified that src and lib are on the classpath, but I guess I have everything working now.
Thanks, -Lee On Jun 24, 2011, at 4:50 PM, Lee Spector wrote: > > Thanks Gary. With this I'm able to get :use to work correctly -- FWIW the > part I wasn't getting right (again :-() was the association between the > namespace names and the directory structure. In the context of your example I > was doing something like (ns core ...) rather than (ns overtone-test.core > ...), for a file in the same location. I now see that I can name it just core > (or whatever I want) if I put it up one level, just in src/ rather than in > src/overtone-test. FWIW I've been down a similar path and figured out > something about the namespace/directory structure mapping before, in the > context of some other tools, but forgot... I guess I still don't find this > very intuitive. > > One thing that I'd like to know more about: when you say "Start a JVM in this > directory with the classpath set to contain and files in src or lib" I'm not > 100% sure that I know how you mean to do that. I am starting a JVM in that > directory by saying "cake swank", and this seems to work now that I have the > namespace names and file locations matched up. But how? Is the classpath > being set to contain files in src and lib automatically by cake? Where does > one specify this? It's not in my project.clj or anywhere else that I see. So > even though it's currently working it still seems mysterious. > > BTW also I still can't seem to get "load" to work... it never seems to find > the files.... I'd sort of like to know how to do that, to help dispel more of > the foggy classpath mysteries, but I guess that now that I can get :use to > work I can have a reasonable workflow one way or another. > > -Lee > -- 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