This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-12-12
Channels
- # admin-announcements (56)
- # beginners (67)
- # boot (159)
- # cider (5)
- # cljs-dev (16)
- # cljsjs (7)
- # clojure (142)
- # clojure-dev (15)
- # clojure-japan (1)
- # clojure-poland (1)
- # clojure-russia (33)
- # clojurebridge (2)
- # clojurecup (1)
- # clojurescript (56)
- # cursive (3)
- # datavis (2)
- # datomic (29)
- # devops (6)
- # editors (1)
- # emacs (3)
- # hoplon (95)
- # ldnclj (15)
- # leiningen (18)
- # off-topic (10)
- # om (12)
- # onyx (7)
- # parinfer (6)
- # proton (1)
- # spacemacs (3)
- # yada (2)
I didn’t see a versioning task on the Community Tasks page so… https://github.com/degree9/boot-semver
I'm only aware of this - https://github.com/adzerk-oss/boot-reload/blob/master/src/adzerk/boot_reload.clj#L94
Any example of how you have that set-up? I don't remember something like that coming up in practice.
yeah i have, but was wondering if i could specify a prefix in the boot config so i didn't have to
I think that's just part of boot's multiple output files thing, each build has it's own directory for sources.
The thing is when you compile with optimisations above :none
you end up with one js file anyway
I'm trying to create a jar which doesn't have a main. When I "boot pom jar" and then "jar tf" my jar, I don't see any classes in it. There ought to be some, right?
files in :resource-paths
are the same as ones in :source-paths
, but with the difference that they will end up in packaged artifacts
I see. Do I need both :source-paths and :resource-paths?
so at the moment micha, i should just be content with adding symoblic links to point to my cljs namespace's corresponding .outs/ ?
when you admit arbitrary routing into that model things explode in incidental complexity
Thanks @micha, got first try
because in the end we can never build powerful tooling if we have tons of special case handling
all these special cases are why you see only monolithic one-thing-does-everything type tools
so with some engineering you can make a more or less general purpose task that composes with the existing things
yea in my case i'm just using two namespaces - my app's js and devcards. then have an html file in my public/cljdev folder to access an html file that loads them
boot pom
is failing in a project for me with clojure.lang.PersistentVector cannot be cast to clojure.lang.Named
I’ve tried just running boot pom —project foo —version 0.0.0
, but it fails with the above error in my project directory. Any ideas on how to track down what might be causing it?
`BOOT_CLOJURE_NAME=org.clojure/clojure BOOT_VERSION=2.4.2 BOOT_CLOJURE_VERSION=1.7.0 #App version: 2.4.2`
I did do the verbose thing, but it didn’t illuminate anything interesting (to me at least)
$ boot -h
Downloading in thread "main" java.io.FileNotFoundException:
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1835)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
at java.net.URL.openStream(URL.java:1038)
at boot.Loader.download(Loader.java:175)
at boot.Loader.install(Loader.java:219)
at boot.Loader.main(Loader.java:238)
$ java -version
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
sorted
$ boot -h
Downloading .
Running for the first time: updating to latest version.
#
#Sat Dec 12 21:54:23 CET 2015
BOOT_CLOJURE_NAME=org.clojure/clojure
BOOT_VERSION=2.4.2
BOOT_CLOJURE_VERSION=1.7.0
i should fix that, i didn't think anyone was still using those older pre-release versions
I really like the way that you and alan are going with boot so it’s good that the project is in a better place
@raymcdermott: drop by if you run into issues
@micha: (merge r (when repo-map (core/configure-repository repo-map)))
should maybe be (core/configure-repository (merge r repo-map))
I think it should work without specifying the repo-map option
Also, multimethod should probably dispatch on operation, deploy vs. resolve-deps
because the credentials can be different
I remember testing it but I don't remember the result :<
i think it would make sense maybe in those cases to make yourself a task that updates the creds in the repo
It depends on how Clojars works, we should really make using Clojars as simple as possible
I'll check what Clojars does if you provide creds for resolve-deps
Hmm, with the multimethod it should be possible to overwrite the default method and provide a library which reads the creds from Lein credentials file
Which is good
Ah, nice