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.
dominicm 2019-11-24T14:41:03.047800Z

Using graalvm might interrupt plans for loading extensions for clj (particularly as it pertains to alternative types of package)

borkdude 2019-11-24T15:52:36.048900Z

@dominicm could you elaborate? the graalvm part would only be a replacement for the bash/powerscript part (so you don't have to maintain bash/powerscript/whatever, but you can just write clojure), not for the jvm part

dominicm 2019-11-24T15:53:23.049600Z

Ah, I assumed the intention would be to replace the whole ensemble.

dominicm 2019-11-24T15:53:43.050200Z

Up to the launching of the user's jvm that is

borkdude 2019-11-24T15:54:25.050700Z

are there multiple jvms involved when starting a tools.deps-classpath driven project?

2019-11-24T15:55:31.051100Z

one to compute classpath (if not cached?), one to launch, iiuc

borkdude 2019-11-24T15:56:00.051700Z

ok, that would remain the same then

2019-11-24T15:56:59.052800Z

i think if one searched for JAVA_CMD in the bash script, details can be examined

borkdude 2019-11-24T15:57:31.053400Z

the jvm already runs fine on all platforms, it's just the scripting parts that are messy (to maintain for multiple OSes and to install / set on the path in Windows, etc)

2019-11-24T16:15:55.055200Z

the multiple implementations (powershell, nim, go, rust, node) seem to be evidence in favor of that, iiuc

2019-11-24T16:16:32.056100Z

btw, with the latest ps download, Set-ExecutionPolicy RemoteSigned -Scope CurrentUser isn't enough here for a successful installation

2019-11-24T16:17:13.056500Z

i get something like:

.\win-install-1.10.1.489.ps1 : File C:\Users\user\Downloads\win-install-1.10.1.489.ps1 cannot be loaded. The file
C:\Users\user\Downloads\win-install-1.10.1.489.ps1 is not digitally signed. You cannot run this script on the current
system. For more information about running scripts and setting execution policy, see about_Execution_Policies at
https:/go.microsoft.com/fwlink/?LinkID=135170.

2019-11-24T16:19:33.057200Z

the work-around suggested on the wiki does work, but it seems to me that the original suggestion isn't ever going to work if the script isn't signed -- does that seem right?

2019-11-24T17:33:24.057900Z

it might be nice if the zip file wasn't automatically fetched every time -- if there is one there already that's appropriate, for example