You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.
Using LightTable boot project core.clj connected to remote nREPL,
(defnexample"Just a simple example"
[x] (identity x))
example ;; Hit <Ctrl-D> for docstring
kills the editor, needs a reboot of lein-light-nrepl REPL as any attempt to further evaluate expressions will get null exceptions after this.
java.net.MalformedURLException: unknown protocol: c
at java.net.URL.<init>(URL.java:600)
at java.net.URL.<init>(URL.java:490)
at java.net.URL.<init>(URL.java:439)
...
I presume due to the fact that a URL / patch such as C:\\some\path\ or C:/some/path does, under current conditions, not get a file:/ replacement of the (Unix) absolute root forward slash - which is required for a proper functioning of (URL. "file:/C:\\some\\path") and (URL. "file:/C:/some/path") both work.
Although I use Git Bash for Windows (which uses mingw /c/some/path), the JDK / environment almost all the time seems to use the regular windows path with the usual drive letter. So seems like below isn't entirely suited for Windows (or failure in general I guess).
Using LightTable boot project
core.clj
connected to remote nREPL,kills the editor, needs a reboot of lein-light-nrepl REPL as any attempt to further evaluate expressions will get
null
exceptions after this.I presume due to the fact that a URL / patch such as
C:\\some\path\
orC:/some/path
does, under current conditions, not get afile:/
replacement of the (Unix) absolute root forward slash - which is required for a proper functioning of(URL. "file:/C:\\some\\path")
and(URL. "file:/C:/some/path")
both work.Although I use Git Bash for Windows (which uses mingw
/c/some/path
), the JDK / environment almost all the time seems to use the regular windows path with the usual drive letter. So seems like below isn't entirely suited for Windows (or failure in general I guess).Clojure/lein-light-nrepl/src/lighttable/nrepl/doc.clj
Line 108 in 65acb2f
The text was updated successfully, but these errors were encountered: