This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-03-20
Channels
- # admin-announcements (1)
- # announcements (9)
- # aws (11)
- # babashka (33)
- # beginners (125)
- # calva (20)
- # cider (18)
- # clj-kondo (7)
- # cljs-dev (73)
- # clojure (72)
- # clojure-europe (18)
- # clojure-italy (13)
- # clojure-nl (13)
- # clojure-uk (9)
- # clojurescript (22)
- # core-async (7)
- # cursive (1)
- # data-science (25)
- # datomic (22)
- # duct (32)
- # emacs (13)
- # graalvm (5)
- # hoplon (16)
- # juxt (6)
- # kaocha (8)
- # leiningen (3)
- # malli (11)
- # meander (12)
- # off-topic (18)
- # pathom (109)
- # pedestal (5)
- # rdf (10)
- # reagent (1)
- # reitit (12)
- # shadow-cljs (27)
- # spacemacs (5)
- # sql (9)
- # tools-deps (7)
hey, i'm having trouble with including resources in a native-image. my directory structure looks like this:
resources
--- config
--- aws.user
--- aws.developer
src
target
project.clj
i've added the IncludeResources flag: -H:IncludeResources="/resources/config/aws.*$"
and in the code: (slurp (io/resource "config/aws.developer"))
but unfortunately i'm seeing: Exception in thread "main" java.lang.IllegalArgumentException: Cannot open <nil> as a Reader.
am i on the right track?My understanding is that graal cannot compile native images for other architectures (ARM, espressif, etc.). Is that correct?