Closed mbossenbroek closed 9 years ago
Apologies for the whitespace changes. It's just this in the subprojects
section:
dependencies {
development 'org.clojure:tools.nrepl:0.2.3'
}
clojureRepl {
port = "9999"
}
Thanks! FYI the latest version of nrepl is 0.2.7
After adding those lines clojureRepl produces this result:
% ./gradlew clojureRepl
Script '/Users/jbrown/projects/PigPen/gradle/convention.gradle': line 24
The ConfigurationContainer.add() method has been deprecated and is scheduled to be removed in Gradle 2.0. Please use the create() method instead.
The TaskContainer.add() method has been deprecated and is scheduled to be removed in Gradle 2.0. Please use the create() method instead.
:pigpen:clojureRepl
Repl started on port 9999
> Building 0% > :pigpen:clojureRepl
It's been displaying that 0% for a few minutes now.
The repl server starts, and I can connect to it, e.g. lein repl :connect 127.0.0.1:9999
, but it looks like the classpath might not be set up right:
user=> (require '[pigpen.core :as pig])
ClassNotFoundException pigpen.PigPenException java.net.URLClassLoader$1.run (URLClassLoader.java:372)
@theJohnnyBrown Found a different approach, seems to work better. Verified that I can not only connect to it, but that the classpath is set up right. Let me know if you see anything weird with this one.
@theJohnnyBrown could you try this fix and verify that you can start a repl?