leiningen icon indicating copy to clipboard operation
leiningen copied to clipboard

Wrong delimiter for classpath on MingW

Open schaueho opened this issue 11 years ago • 0 comments

With leininigen 2.5.1, lein repl will fail under MingW/bash with a "Could not find or load main class clojure.main" error. The culprit seems to be that the delimiter used when compiling the classpath is set to ';' in add_path. MingW is treated similarly to Cygwin or msys here, but ':' is actually the correct delimiter to use. I'm not sure whether the bug applies to cygwin, too. This post on the MingW mailing list covers a similar case: http://osdir.com/ml/MinGW-users/2011-03/msg00148.html I can verify that escaping the semicolon doesn't work, but using ':' works -- apparently, MingW/bash translates the ':' into the correct syntax itself, but is unable to hand over ';' or ';' correctly.

schaueho avatar Feb 15 '15 10:02 schaueho