It seems there's a problem with the template when used with the +boot flag. When I type boot run I get the following error:
java.io.FileNotFoundException: Could not locate lumboot/env__init.class, lumboot/env.clj or lumboot/env.cljc on classpath.
clojure.lang.ExceptionInfo: Could not locate lumboot/env__init.class, lumboot/env.clj or lumboot/env.cljc on classpath.
AFAICT this is because none of the the env-directories are added to the classpath. I've gotten it to to work by prepending the following to the body of the run task:
(merge-env! :source-paths #{"env/prod/clj"}
:resource-paths #{"env/prod/resources"})
Since I'm fairly new to Luminus I'm unsure if this is the correct solution. Maybe this is not even a bug, in which case instructions as to how the run task should be used would be helpful.
It seems there's a problem with the template when used with the
+bootflag. When I typeboot runI get the following error:AFAICT this is because none of the the env-directories are added to the classpath. I've gotten it to to work by prepending the following to the body of the
runtask:Since I'm fairly new to Luminus I'm unsure if this is the correct solution. Maybe this is not even a bug, in which case instructions as to how the
runtask should be used would be helpful.