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.
2019-06-18T12:55:49.104300Z

as another bootstrap approach, the clj-windows unofficial clj / clojure tool might be used to build the first native-image. i hope to try it out with native-image soon.

lread 2019-06-18T12:59:39.105900Z

I know .bat files are not a joy to write, but would a .bat file work as well as en .exe?

2019-06-18T13:04:33.108Z

i am not sure. there might be quoting issues. i was thinking whether ps2exe might be another possible short-term work-around.

carkh 2019-06-18T13:13:12.111800Z

i think the goal is to make a fully self-contained solution, and you can't be sure that you have the necessary services available with a bat file

carkh 2019-06-18T13:13:18.112Z

like for downloading

lread 2019-06-18T13:16:53.115600Z

ah thanks @carkh, so we want to reduce quoting issues to the shell you are using (and whatever java requires) but also need to use something powerful enough to provide a self-contained solution.

carkh 2019-06-18T13:17:23.115900Z

and get out of cursed powershell =)

carkh 2019-06-18T13:17:34.116100Z

for tooling compatibility

lread 2019-06-18T13:51:08.119200Z

I see a specific related issue raised https://clojure.atlassian.net/browse/TDEPS-121 but have not noticed an issue that describes the problem generally. I’ll take a stab at it.

carkh 2019-06-18T13:52:25.120400Z

the problem with having a powershell based tool is twofold : tools don't know how to deal with powershell because the clj command is not a file one can directly execute, and quoting issues

carkh 2019-06-18T13:52:43.120600Z

well that's how i see it anyways

borkdude 2019-06-18T13:55:34.121Z

cough g-r-a-a-l-v-m cough

🤓 1
carkh 2019-06-18T13:56:07.121400Z

yes i love that idea, then we can say our tooling is clojure all the way down

lread 2019-06-18T14:15:45.121900Z

Ok here’s my stab at an issue for this https://clojure.atlassian.net/browse/TDEPS-133

lread 2019-06-18T14:17:44.122900Z

I tried to focus on the problem rather the solution but did summarize approaches discussed here.