On Sun, Dec 29, 2013 at 1:30 PM, larry google groups
lawrencecloj...@gmail.com wrote:
Thanks for that. But the app has no problem reading the schema.edn file when
I start the app with:
java -jar admin-1-standalone.jar
So why would it have trouble reading the file when I'm in the repl?
Can
If it can't find the file,
`clojure.java.io/resource`http://clojure.java.io/resource returns
nil; and (slurp
nil) throws an IllegalArgumentException, which doesn't seem to be the
error
you're getting.
Thanks for that. But the app has no problem reading the schema.edn file
when I start
make the app work with 'lein run' and it'll work in the repl as well.
On Sun, Dec 29, 2013 at 4:30 PM, larry google groups
lawrencecloj...@gmail.com wrote:
If it can't find the file, `clojure.java.io/resource` returns nil; and
(slurp
nil) throws an IllegalArgumentException, which doesn't seem
There are at least some keyboard shortcuts you should be familiar with for
loading / compiling namespaces. Look a the Using the REPL section of
this: http://clojure-doc.org/articles/tutorials/emacs.html
On Sat, Dec 28, 2013 at 7:38 PM, larry google groups
lawrencecloj...@gmail.com wrote:
I
I have been working with Clojure now some of the time for the last 18
months, so I am no longer a complete noob. But I still have many questions
about how to work at the REPL. In particular, I don't understand how the
REPL interacts with the class path.
I have an app that is working. When I
Hi Larry,
4.) load whatever file holds the (main-) function that starts the app. So for
me, for instance, it might be: (load-file src/admin/core.clj)
I don't think the `load-file` should be necessary. Do things not work if you
omit it?
The code on disk when you jacked in will already have
I am no longer a total beginner at Clojure, but I find I still get badly
confused by some issues at the repl (namesspaces, classpath, dependencies,
etc). Can anyone point me to a good tutorial about working at the repl?
--
--
You received this message because you are subscribed
On Monday, April 29, 2013 6:07:34 PM UTC-4, larry google groups wrote:
I am no longer a total beginner at Clojure, but I find I still get badly
confused by some issues at the repl (namesspaces, classpath, dependencies,
etc). Can anyone point me to a good tutorial about working at the repl