trifork / erjang

A JVM-based Erlang VM
http://www.erjang.org
Apache License 2.0
725 stars 62 forks source link

Running ej from within a Cygwin shell #46

Closed pavlobaron closed 13 years ago

pavlobaron commented 13 years ago

Since Cygwin bash is "transparent" to Java when you run ej, File.separator (and all other System.getProperty() dependent things) is set to '\' on Windows and you cannot load kilim/S_* classes in the EModuleClassLoader. I have fixed it through a fallback to '/' when the first load attempt didn't work. Now it's possible to run ej from a Cygwin shell.

Please feel free to review, I will go look for "real important" tasks :)

PS: commiting the cfg.properties file was an oops, sorry

Regards - Pavlo