clj-on-windows

For those interested in making clj on Windows https://dev.clojure.org/jira/browse/TDEPS-67. Also see https://github.com/littleli/scoop-clojure.
borkdude 2020-09-04T09:30:37.011800Z

I keep hearing this regularly: powershell is often a problem for corporate users of clojure on Windows. I'm posting this here as feedback. https://github.com/babashka/babashka.process/issues/15#issuecomment-687035007

littleli 2020-09-04T13:06:42.012900Z

Unfortunately that does not give enough to do anything. If Powershell is so much restricted, than WSL is likely not an option too, because installation images put on such corporate boxes is already outdated and flawed.

borkdude 2020-09-04T13:07:44.013100Z

Yes.

borkdude 2020-09-04T13:08:01.013300Z

But the deps.exe approach does work for these users

littleli 2020-09-04T13:09:10.013500Z

Yes. It's a great option.

borkdude 2020-09-04T13:11:45.013700Z

I mean, it has been suggested before to get rid of PowerShell for the official Clojure tool, because it's sometimes painful

littleli 2020-09-04T13:17:13.013900Z

It's less of the problem than we think. Windows 10 is based around PSH and it's not going away. And these companies they eventually gonna need to do the right thing.

borkdude 2020-09-04T13:19:21.014100Z

It's still pretty annoying. If I do a GraalVM build on Windows, I need to do this from cmd.exe (because of a .bat file in Visual Studio that sets the right env vars) and I have to jump through some hoops with clojure (if I didn't have deps.exe)

borkdude 2020-09-04T13:22:01.014600Z

Not a major problem for me personally, because I know how to work around it, but I keep hearing these reports from time to time