#FileNotFoundException java.io.FileNotFoundException: Could not locate
clojure/tools/namespace__init.class or *clojure/tools/namespace.clj* on
classpath:
Now, somewhere in the code, something is looking for
clojure.tools.namespace.clj. But that's just a directory in the
I tracked down the problem. Funny thing is that tools.namespace is failing
when trying to reload the ring component inside of noir. Looking at *
nrepl-ritz.el* (0.5.0), which uses *nrepl.el* (0.1.4), there are a few
references to namespace. But I don't think that has anything to do with
'ring-devel' depends on 'ns-tracker', which uses tools.namespace 0.1.3:
https://github.com/weavejester/ns-tracker/blob/master/project.clj
Dependency resolution will only allow one version of the library, so your
project gets tools.namespace 0.2.0, not 0.1.3. The two releases are not
compatible,
Timothy Washington twash...@gmail.com writes:
2) Running emacs with nrepl.el. I fire up *M-x nrepl-ritz-jack-in*
ritz-repl-utils includes a namespace dependency graph in
ritz.repl-utils.namespaces. It doesn't yet include a refresh type
function, but that would be straightforward to add on top
useful tools
在 2012年10月5日星期五,Stuart Sierra 写道:
Announcing... tools.namespace 0.2.0. Just released, it will reach
Maven Central in a few hours.
Short summary: reload code in the REPL with greater accuracy and
awareness of dependencies.
Full documentation in the README:
I try 2 different repl environments, and run into classpath issues:
1) *lein.2 repl *
2) Running emacs with nrepl.el. I fire up *M-x nrepl-ritz-jack-in*
user= (use '[clojure.tools.namespace.repl :only (refresh)])
nil
user= (refresh)
:reloading (foojs.core foojs.core-test)
:error-while-loading
Hey Stuart,
I wrote a little autotest script which uses tools.namespace to figure out
which tests to run. Basically I just watch the source files, when modified
I run (refresh) and use the repl/refresh-tracker var to find out which
tests should be executed. To do this I had to monkey-patch
FWIW, You can access a private var via the var special form: (var
repl/refresh-tracker) (or #'repl/refresh-tracker for short)
HTH,
-- Laurent
2012/10/10 Thomas Heller th.hel...@gmail.com
Hey Stuart,
I wrote a little autotest script which uses tools.namespace to figure
out which tests to
Hi
Looks great! I'd just finished writing my own ns declaration parser when I
found that you'd already put it all together :-)
What I'd like to use this for is re-running affected tests. A
straightforward way to make this possible would be to make (refresh) return
the list of reloaded
Hi Mika,
Due to the current governing process of the Clojure contributor agreement,
I cannot accept GitHub pull requests, only patches submitted via
http://dev.clojure.org/jira
My intent is for the functions in clojure.tools.namespace.repl to be a
high-level API for direct invocation by
Announcing... tools.namespace 0.2.0. Just released, it will reach
Maven Central in a few hours.
Short summary: reload code in the REPL with greater accuracy and
awareness of dependencies.
Full documentation in the README:
https://github.com/clojure/tools.namespace
This is my latest attempt at
REPL restarts are slow and costly, but the freshness they provide is
obviously so valuable, too.
Has anyone experimented with something like JRebel or some alternative to
provide super-fast like fraction of a section REPL restarts?
On Fri, Oct 5, 2012 at 8:56 AM, Stuart Sierra
This will be very helpful to me. Writing selenium tests on repl then
restarting is a pain. Will share my views on it.
Thank you for your time :)
Sent from phone. Please excuse brevity.
On Oct 5, 2012 7:26 PM, Stuart Sierra the.stuart.sie...@gmail.com wrote:
Announcing... tools.namespace 0.2.0.
13 matches
Mail list logo