Fork me on GitHub
#boot
<
2017-05-05
>
flyboarder00:05:22

when attempting to push more than once I am getting this error:

seancorfield00:05:12

@flyboarder Do you mean push a snapshot or push a release?

flyboarder00:05:26

snapshot right now

flyboarder00:05:16

not using bootlaces

ejemba12:05:37

Hi I have a bug when issuing

$ boot dev
Exception in thread "main" java.util.concurrent.ExecutionException: java.lang.IllegalAccessError: tried to access method boot.App.isWindows()Z from class boot.file__init
        at java.util.concurrent.FutureTask.report(FutureTask.java:122)
        at java.util.concurrent.FutureTask.get(FutureTask.java:192)
        at boot.App.runBoot(App.java:248)
        at boot.App.main(App.java:356)
Caused by: java.lang.IllegalAccessError: tried to access method boot.App.isWindows()Z from class boot.file__init

ejemba12:05:41

java -version is openjdk version "1.8.0_121" OpenJDK Runtime Environment (build 1.8.0_121-b13) OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode)

ejemba12:05:27

boot -V is

#
#Fri May 05 14:50:52 CEST 2017
BOOT_CLOJURE_NAME=org.clojure/clojure
BOOT_CLOJURE_VERSION=1.8.0
BOOT_VERSION=2.7.1
#App version: 2.3.0

pseud13:05:31

Hi, anyone work with clojurescript/node.js on the backend via boot ? Specifically, I'd like to have the node.js clojurescript repl work in a flow of composed tasks

mobileink15:05:05

is there a way to support option alternatives? I have an option --pages which should be either a set of symbols or :all. I.e. I want something like p pages PAGES #{sym} | kw

flyboarder18:05:04

@alandipert is there a way to clone the worker pod?

alandipert18:05:53

@flyboarder what do you mean by clone?

flyboarder18:05:23

I mean I would like to use a pod with boot.aether like the worker pod, that isnt the worker pod

flyboarder18:05:02

and id like to create and destroy that pod each time the task runs

flyboarder18:05:28

@alandipert ideally i’d just like a task-local copy of the worker-pod

alandipert18:05:10

the way i would do it is, make my own pod that has the same deps as the worker pod

flyboarder18:05:55

@alandipert do you know where those are found? It seems I can't use boot.aether from anywhere else?

alandipert18:05:05

it's a dep on clojars

flyboarder18:05:12

Is there a reason I can't just use boot.aether?

alandipert18:05:16

boot.user=> (require '[boot.pod :as p])
nil
boot.user=> (def my-worker (p/make-pod {:dependencies (template [[boot/worker ~*boot-version*]])}))
#'boot.user/my-worker
boot.user=> (p/with-eval-in my-worker (require '[boot.aether :as ae]) (println ae/verify-colors))
{:signed #object[boot.from.io.aviso.ansi$bold_cyan 0x161178a0 boot.from.io.aviso.ansi$bold_cyan@161178a0], :unsigned #object[boot.from.io.aviso.ansi$bold_red 0x78fa548e boot.from.io.aviso.ansi$bold_red@78fa548e], :no-key #object[boot.from.io.aviso.ansi$bold_yellow 0x586ef0eb boot.from.io.aviso.ansi$bold_yellow@586ef0eb], :bad-sig #object[boot.from.io.aviso.ansi$bold_yellow 0x586ef0eb boot.from.io.aviso.ansi$bold_yellow@586ef0eb]}

alandipert18:05:28

ie (def my-worker (p/make-pod {:dependencies (template [[boot/aether ~*boot-version*]])}))

alandipert18:05:53

worker just has more random/useful stuff you may/may not need

flyboarder18:05:36

@alandipert you are fantastic!!

flyboarder18:05:09

that works and totally fixed the issue I was having with deploying to clojars!

ejemba18:05:30

does boot work with jdk 8 ?

ejemba19:05:26

I have issue when I m using it

pseud20:05:14

If I am using a boot task from the repl (e.g. '(boot (my-task-here))' is there a way to properly terminate it somehow ? C-c C-c (in cider) seems like a bad work-around - it aborts things mid-way and any code which got spun off into its own thread is still running

bocaj20:05:10

@ejemba Try installing but don't run boot -u

bocaj20:05:38

I have boot with jdk 8 on windows 10 working with the bin at $home/bin/boot.exe

ejemba21:05:11

@bocaj thank you for your feedback.

flyboarder22:05:43

@pseud you want to setup some shutdown hooks