This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-06-19
Channels
- # aws-lambda (1)
- # bangalore-clj (4)
- # beginners (66)
- # boot (13)
- # cider (9)
- # cljs-dev (44)
- # cljsjs (3)
- # clojure (181)
- # clojure-austin (2)
- # clojure-greece (6)
- # clojure-italy (2)
- # clojure-russia (64)
- # clojure-sg (1)
- # clojure-spec (68)
- # clojure-uk (60)
- # clojurescript (66)
- # conf-proposals (12)
- # cryogen (1)
- # cursive (3)
- # datomic (44)
- # graphql (1)
- # hoplon (2)
- # jobs (2)
- # jobs-discuss (3)
- # keechma (2)
- # liberator (6)
- # luminus (2)
- # nyc (1)
- # off-topic (92)
- # om (10)
- # onyx (17)
- # parinfer (39)
- # pedestal (8)
- # proton (11)
- # re-frame (110)
- # reagent (2)
- # remote-jobs (11)
- # ring-swagger (9)
- # rum (2)
- # sql (2)
- # test-check (6)
- # untangled (138)
Hey,
I’ve just converted one of our projects to use boot
(http://github.com/bdo-labs/ui). It seems to work just fine stand-alone, but when I include it from another project I’m not able to find the namespace. Any ideas what I’m doing wrong?
resource-paths
and source-paths
are not identical to their counterparts in Leiningen
resource-paths
is “on the classpath” & “included in output” (can be target
task or a jar, or something else)
source-paths
is “on the classpath” only
@hkjels So the solution in your case would be to have
:resource-paths #{"resources" "src/clj" "src/cljs"}
You can read more here as well: https://github.com/boot-clj/boot/wiki/Filesets#roles-of-files
@hkjels you’re welcome 🙂
has anyone seen something like this before:
boot.user=> (clojure.core/load-file "./build.boot")
deftask boot.user/foo was overridden
deftask boot.user/hello was overridden
deftask boot.user/chan was overridden
deftask boot.user/insert-version-numbers-to-submodules was overridden
deftask boot.user/bump-versions-foo was overridden
#'boot.user/bump-versions-foo
boot.user=> (boot (bump-versions-foo))
java.lang.IllegalArgumentException: Arguments must be either all strings or all fns
boot.user=> (bump-versions-foo)
clojure.lang.Compiler$CompilerException: java.lang.RuntimeException: Unable to resolve symbol: bump-versions-foo in this context, compiling:(/var/folders/7x/bdhllf3x3hj6rq19xn1rbh000000gn/T/boot.user4988841115757995892.clj:1:1)
java.lang.RuntimeException: Unable to resolve symbol: bump-versions-foo in this context
boot.user=> (clojure.core/load-file "./build.boot")
clojure.lang.Compiler$CompilerException: java.lang.RuntimeException: Unable to resolve symbol: deftask in this context, compiling:(/Users/timothy/development/backend/./build.boot:94:1)
java.lang.RuntimeException: Unable to resolve symbol: deftask in this context
boot.user=>