This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-12-12
Channels
- # adventofcode (112)
- # architecture (1)
- # beginners (55)
- # boot (26)
- # cider (19)
- # cljs-dev (19)
- # cljsjs (1)
- # cljsrn (7)
- # clojure (140)
- # clojure-android (3)
- # clojure-austin (3)
- # clojure-china (3)
- # clojure-gamedev (1)
- # clojure-greece (43)
- # clojure-spec (75)
- # clojure-sweden (5)
- # clojure-uk (21)
- # clojurescript (66)
- # core-async (2)
- # core-logic (1)
- # cursive (63)
- # datascript (5)
- # datomic (4)
- # devcards (2)
- # duct (13)
- # editors (5)
- # emacs (9)
- # figwheel (4)
- # fulcro (42)
- # graphql (25)
- # immutant (7)
- # jobs (29)
- # leiningen (13)
- # lumo (7)
- # numerical-computing (3)
- # off-topic (22)
- # om (2)
- # onyx (25)
- # pedestal (3)
- # re-frame (14)
- # reagent (20)
- # remote-jobs (1)
- # ring-swagger (3)
- # rum (12)
- # shadow-cljs (9)
- # uncomplicate (1)
- # unrepl (6)
boot.properties states:
BOOT_CLOJURE_NAME=org.clojure/clojure
BOOT_CLOJURE_VERSION=1.9.0-beta2
BOOT_VERSION=2.7.2
BOOT_EMIT_TARGET=no
BOOT_JVM_OPTIONS="-Djava.library.path=/usr/local/cuda/lib64 -XX:-OmitStackTraceInFastThrow"
I get error:
`Stack trace of root exception is empty; this is likely due to a JVM optimization that can be disabled with -XX:-OmitStackTraceInFastThrow.
`
but I already ahve taht in BOOT_JVM_OPTIONSqqq: Clojure 1.9.0 final is out now 🙂 Maybe that is already enough to give you a more helpful error?
Maybe someone could help me with my very weird exception I get? https://github.com/boot-clj/boot/issues/665
but when I create a task
(deftask connect
[]
(repl :client true
:eval "(println \"hello\")"))
Does anyone have a good 10 minute overview of boot? I have a coworker that’s done some magical stuff with it but I don’t really understand what’s going on.
@g.albacarys you could gist it and ask specific questions
I mostly just want a high level overview of what’s going on, like the moron’s guide to boot 😄
Well the wiki is probably a good start: https://github.com/boot-clj/boot/wiki
There are pages on the various concepts like Fileset, Pods, Tasks etc
@fmind try this
(deftask connect
[]
(repl :client true
:eval '(println "hello")))
admittedly the lack of an error kind of sucks
@martinklepsch it works 🙂 thanks
I’d like to add a warning when :eval is passed a string in Clojure code, any suggestions on this message?
When passing :eval to the repl task in your build.boot, use a quoted form instead of a string
Hi all: I'm working on a boot based web-app. The environment is set up in a way that allows me to develop and deploy it directly, but I would also like to be able to use it as a basis for derived apps that would extend the core tech. It seems there would be two approaches to this: 1) fork the repo, and use standard distributed git workflows to merge features between the core and derived apps 2) package the core app as a library to be consumed by other projects The first would seem to make it pretty trivial to merge features back and forth between the different forks, but would eliminate the distinction between upstream and downstream. The second would maintain a very clear distinction about where features are coming from to make a coherent system, but makes integrated development a little more cumbersome. I'm wondering if folks have had experience with deriving one app from another, and what approach they used to do integrated development (either the first or second approach above, or some third approach).
Apologies, when I started my question, it was more boot specific, but then it became more general. I suppose I should post it to the clojure channel, but feedback is welcome nevertheless.
@zalky If you package it as a library there are ways to make it available to your derived projects
@zalky In Boot and Leiningen there is this concept of checkout dependencies — if you haven’t heard of them I suggest you read this: https://github.com/technomancy/leiningen/blob/master/doc/TUTORIAL.md#checkout-dependencies
in Boot you can then use the :checkouts
environment key as described here: https://github.com/boot-clj/boot/wiki/Boot-Environment
There are some differences to how this works in Leiningen and Boot but the result is basically the same
@martinklepsch: I had not encountered checkout dependencies, that looks super helpful, I will read up. Thanks!