On Tue, Jun 5, 2012 at 10:00 AM, Jim - FooBar(); <jimpil1...@gmail.com> wrote: > Ok I see... > then why can I not use my debug-repl, which is located in init.clj ? It only > works when I'm in the 'user' namespace...I think this worked perfectly ok in > lein1...at any given time I could do "(debug-repl)" and I would get the > appropriate repl. Now I have to move code around between namespaces or have > the debug-repl in every single project of mine!
I don't think this is a Leiningen issue. Clojure provides no way to load something and have it referred in all namespaces. Even if it did, it never would have worked with init.clj even in Leiningen 1.x since that was loaded in a different process from your own code. Putting it in user.clj would solve the second problem but not the first. -Phil -- 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