Rick,

I think the problem is that additional classpaths are added,
dynamically, after the user.clj file is evaluated. It does get
evaluated if it's in ./ or ./src, which are added at launch in the
cljr scripts.

I have added ~/.cljr to the classpath defined in the launch scripts,
so you can place your user.clj there.

Thanks for catching that, I like to use user.clj too :-)

David



On Jul 16, 8:44 am, Rick Moynihan <rick.moyni...@gmail.com> wrote:
> I've just installed Cljr and am really impressed with it...  However I
> have run into a small problem.
>
> I'd like to have my cljr execute my user.clj at startup, however it
> seems that cljr is ignoring classpaths added with the command
>
> cljr add-classpath ~/.clojure/
>
> looking in ~/.cljr/project.clj I see that this has been added
> correctly, and that if I execute lein swank in the .cljr directory,
> lein correctly picks up the user.clj file on my classpath...
> indicating that there is a problem with cljr.
>
> Otherwise cljr is great...  Any help appreciated.
>
> R.

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