graalvm

octahedrion 2024-03-08T13:07:24.424969Z

what's the best thing to do about Clojure namespaces which define functions that depend on reading .edn with io/resource? (I am using clj_easy.graal_build_time.InitClojureClasses but some namespaces are failing to read their .edn)

2024-03-08T13:09:49.582629Z

you have to add configuration for resources in natiave-image https://www.graalvm.org/latest/reference-manual/native-image/dynamic-features/Resources/

octahedrion 2024-03-08T13:15:08.164209Z

🙏 how did I miss that

2024-03-08T13:24:30.927549Z

also see my reply just above on ways you can auto-generate the configs https://clojurians.slack.com/archives/CAJN79WNT/p1709596092770419?thread_ts=1709595102.482379&cid=CAJN79WNT

🙏 1