extending Project REPL's classpath with local files?

9 views
Skip to first unread message

Sergey Didenko

unread,
Mar 10, 2011, 4:47:42 AM3/10/11
to enclojure
Is there a way to extend the classpath that is used in Project REPL to
use local .class files or their .java sources?

For example to add "classes" directory that is managed by leiningen.
Right now I can do "lein compile", "lein repl" and it can access the
(just compiled) java code in its REPL.

However I can't integrate it into my Enclojure related workflow: "lein
deps", "lein pom", reload the project in Enclojure, "Start project
REPL". The Project REPL does not see the classes from "classes"
directory and I can't find the way to add it in the (NetBeans) Project
Properties.

Is the only way to do it - to compile those java files into a separate
jar?

Las

unread,
Apr 3, 2011, 2:24:28 PM4/3/11
to enclojure
Hi,

I'd would be also interested in how to do this. My scenario is the
following:
I'm using leiningen and appengine-magic is specified as :dev-
dependency.
It would be great if I could make the dev-dependencies also available
to the REPL.
I don't want to make them regular dependency as that messes up the the
compile-publish process.

Thx,

Las
Reply all
Reply to author
Forward
0 new messages