This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-09-22
Channels
- # admin-announcements (5)
- # aws (32)
- # beginners (2)
- # boot (51)
- # cider (33)
- # cljs-dev (4)
- # clojure (83)
- # clojure-berlin (11)
- # clojure-czech (23)
- # clojure-poland (3)
- # clojure-russia (51)
- # clojure-seattle (4)
- # clojure-sg (1)
- # clojure-uk (4)
- # clojurescript (48)
- # clojurex (1)
- # datomic (26)
- # devcards (10)
- # devops (12)
- # editors (9)
- # emacs (12)
- # events (1)
- # funcool (14)
- # hoplon (117)
- # immutant (1)
- # jobs (2)
- # ldnclj (32)
- # ldnproclodo (12)
- # om (51)
- # onyx (17)
- # reagent (11)
- # yada (4)
@micha: I fixed the checksums for maven-metadata.xml, and updated the metadata itself (it was missing any release past rc9). When you get a chance, can you deploy a snapshot of 2.3.2 to confirm that all is good?
heh, I just feel guilty for not yet implementing atomic deploys, which should prevent this in the future
i tried to deploy from micha's house
never again
Is there a reference for what arg 'types' I can use with boot's defclifn
and how they behave? I see I can use bool
(https://github.com/boot-clj/boot/wiki/Scripts#command-line-args), for example, but the behaviour is not what I was expecting.
@kspear: I’d assume they’re the same as for task options: https://github.com/boot-clj/boot/wiki/Task-Options-DSL#types
@martinklepsch: Cool, will check it out. Ty.
Hm. Bizarre. I try a simple script,
(require '[boot.cli :refer [defclifn]])
(defclifn -main [ t text str "A string argument" ]
(println text))
When I execute with ./script.clj --text="Hello"
or ./script.clj -t "Hello"
I get an error that says, basically clojure.lang.ExceptionInfo: option :text must be of type str
. Is this a bug, or am I doing it wrong? Any help would be appreciated. Thanks.
Fedora Core 22, Leiningen 2.5.3 on java-1.8.0-openjdk-1.8.0.60-14, for what it's worth.
Boot App Version: 2.3.0
Boot Lib Version: 2.3.0
Clojure Version: 1.7.0@kspear: you forgot the optarg
[ t text TEXT str "A string argument" ]
@kspear: you can leave a +1 here if you want https://github.com/boot-clj/boot/issues/285
@martinklepsch: Ah, merci.
hey all i'm getting an error trying to pull boot from clojars
Retrieving pod-2.3.0.jar from https://clojars.org/repo/ Exception in thread "main" org.sonatype.aether.resolution.DependencyResolutionException: Could not transfer artifact boot:pod:jar:2.3.0 from/to clojars (https://clojars.org/repo/): Checksum validation failed, no checksums available from the repository at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:375)
just upgraded to 2.3.0
@micha: did the new release not get pushed to clojars?
production builds using this dockerfile https://github.com/adzerk-oss/boot-clj-docker-image/blob/master/Dockerfile
now break
@pleasetrythisathome: there is https://github.com/boot-clj/boot/issues/296, working on it
ah i see. do you have an ETA on a fix?
im workin on it atm
thanks!
@martinklepsch: Thanks!
@micha: I see; thank you. Is (get-in fileset [:tree "public/index.html”])
public and idiomatic, or should I stick with filter
or boot.core/by-name
?
@alandipert: fixed for me thanks!
if I use the latest alpha release of clojure boot doesn't seem to be working. Is that a known issue?
clojure.lang.Compiler$CompilerException: java.lang.VerifyError: (class: cljs/util$last_modified, method: invokeStatic signature: (Ljava/lang/Object;)Ljava/lang/Object;) Can only throw Throwable objects, compiling:(util.cljc:142:1)
java.lang.VerifyError: (class: cljs/util$last_modified, method: invokeStatic signature: (Ljava/lang/Object;)Ljava/lang/Object;) Can only throw Throwable objects
@xifi: i'll try to reproduce, but in the meantime if you can come up with a minimal-dependency example, that would be excellent
honestly it looks like it may be a bug in the clj compiler
it's missing a cast
@alandipert: even though it's known and on jira here's a minimal build.boot
(set-env!
:source-paths #{"src/clj" "src/cljs" "src/hl"}
:dependencies '[[adzerk/boot-cljs "1.7.48-4" :scope "test"]
[org.clojure/clojure "1.8.0-alpha5"]
[org.clojure/clojurescript "1.7.122"]
[hoplon/hoplon "6.0.0-alpha10"]
[hoplon/boot-hoplon "0.1.10"]])
(require '[adzerk.boot-cljs :refer [cljs]]
'[hoplon.boot-hoplon :refer [hoplon prerender]])
(deftask dev []
(comp (hoplon)
(cljs)))
the code that's hitting CLJ-1809 is actually in cljs compiler: https://github.com/clojure/clojurescript/blob/master/src/main/clojure/cljs/util.cljc#L150
thanks all for the info
it might be possible to workaround by turning off bytecode verification in JVM options
but the code might not work then