-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Description
I haven't been able to get boot-environ working with a simple uberjar. Attached is a minimal example of what happens:
If I run this with
boot bug
java -jar target/project.jar
I get an exception
Caused by: java.lang.IllegalArgumentException: Not a file: jar:file:/home/hinton/temp/environ-bug/target/project.jar!/.boot-env
at clojure.java.io$fn__10864.invokeStatic(io.clj:61)
at clojure.java.io$fn__10864.invoke(io.clj:44)
at clojure.java.io$fn__10838$G__10820__10843.invoke(io.clj:35)
at clojure.java.io$file.invokeStatic(io.clj:424)
at clojure.java.io$file.invoke(io.clj:418)
at environ.core$read_env_file.invokeStatic(core.clj:34)
at environ.core$read_env_file.invoke(core.clj:33)
at environ.core$fn__226.invokeStatic(core.clj:43)
at environ.core$fn__226.invoke(core.clj:39)
at environ.core__init.load(Unknown Source)
at environ.core__init.<clinit>(Unknown Source)
... 42 more
Whereas I expect it to print "spork" and exit.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels