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.
I know .bat files are not a joy to write, but would a .bat file work as well as en .exe?
i am not sure. there might be quoting issues. i was thinking whether ps2exe might be another possible short-term work-around.
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
like for downloading
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.
and get out of cursed powershell =)
for tooling compatibility
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.
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
well that's how i see it anyways
cough g-r-a-a-l-v-m cough
yes i love that idea, then we can say our tooling is clojure all the way down
Ok here’s my stab at an issue for this https://clojure.atlassian.net/browse/TDEPS-133
I tried to focus on the problem rather the solution but did summarize approaches discussed here.