Leif:

> I works for me if I run 'lein repl' *outside* of a project.  In that 
> case, "" is on the classpath, so "." looks in the current directory.
>
> When you run 'lein repl' *inside* of a project, however, the top-level 
> project directory is not on the classpath.  "." in this case probably means 
> "look in the root of all directories on the classpath."  (I'm guessing; 
> Java experts speak up.)
>

But nobody keeps sources files in the repository root (and if they do, they 
should not).

Outside of project it makes sense to add . to the classpath because there 
is basically nothing else to add.

If you don't like the src/ location or need more than one source root, you 
can add them via project.clj.

MK 

-- 
-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to