This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-12-28
Channels
- # admin-announcements (72)
- # aws (23)
- # beginners (43)
- # boot (140)
- # cider (11)
- # cljs-dev (4)
- # cljsrn (82)
- # clojars (2)
- # clojure (215)
- # clojure-nl (2)
- # clojure-russia (149)
- # clojurecup (4)
- # clojurescript (159)
- # cursive (19)
- # datomic (47)
- # editors (1)
- # emacs (27)
- # hoplon (32)
- # jobs (11)
- # ldnclj (3)
- # mount (33)
- # off-topic (1)
- # om (380)
- # onyx (1)
- # re-frame (2)
- # reagent (54)
- # yada (63)
boot 2.5.3 released: https://github.com/boot-clj/boot/blob/master/CHANGES.md#253
api docs now available here https://github.com/boot-clj/boot/tree/master/doc
Looking forward to the day when I can wing hoplon projects the way I can do java. But at least I am making enough steady progress now to keep me encouraged.
I remember seeing in this channel not long ago someone having a problem making an uberjar and conflicting files named LICENSE. Slack search doesn’t get me back far enough to find it. Does anybody remember the solution to that problem?
I’m getting this error while creating an uberjar:
java.nio.file.DirectoryNotEmptyException: /Users/adam/.boot/cache/tmp/Users/adam/work/visclay/backend/14sd/6qp7pj/META-INF/LICENSE
working now, I see the merge message. I didn’t realized that was fixed in boot. Thanks!
btw, in the burgeoning CLJS+React Native world, there is a Boot library that is gaining mindshare: https://github.com/mjmeintjes/boot-react-native. The author explained in this github issue why choosing Boot over Lein made the tooling so much easier: https://github.com/mjmeintjes/boot-react-native/issues/1#issuecomment-167656801
@adamfrey: cool thanks for sharing!
If the command prompt has elevation, then it will also not respond and make the processes persistent
I'll talk through my process of using it: 1. Download the exe 2. Put it onto a path that was in %PATH% 3. Open a cmd and run as instructed.
there are a few other outstanding issues for windows7 by the way: https://github.com/boot-clj/boot/issues?q=is%3Aopen+is%3Aissue+label%3Awindows+label%3Ablocked
those 3 outstanding issues, if you don't experience them (like for example if recent boot updates have fixed any of those problems) could you please make note of it on the issue if you get a chance?
I'll try to remember. I'll be trying out cljs since lein is a pain in the ass for that apparently. Are those errors plausible in that context?
Ok. Anyhow, thanks for resolving the issue! Will add the boot.exe to the whitelist of avast
Using Boot 2.5.3, creating an uberjar doesn’t generate the uberjar name from the pom file. It works on the same project using 2.4.2
Here’s my uberjar task:
(deftask uberjar
"Builds an uberjar of this project that can be run with java -jar"
[]
(comp
(aot :namespace '#{alto.visclay.core})
(pom :project 'visclay :version +version+)
(uber)
(jar :main 'alto.visclay.core)))
check out the :file option to jar
and the changelog, jar doesn't pick the name from the pom anymore (necessarily)
no problemo
yeah if there are multiple poms in the jar it used to arbitrarily pick the first one it found
but that was causing issues with some uberjars where the library depended on being able to find its own pom in the jar
@micha: I get the same exception as in [issue 76](https://github.com/boot-clj/boot/issues/76) for the command boot serve -d target watch cljs
and I overwrite a file.
@bloemelau: can you try with clojure 1.8.0-RC4?
Is it possible that there are some race conditions of some kind, or that the file isn't closed before reopening it? If I start the command and then overwrite the file while compiling it will recompile it without a problem, but overwriting after boot is waiting will result in an error: >Writing main.cljs.edn... >Compiling ClojureScript... >ò main.js >Implicit target dir is deprecated, please use the target task instead. >Set BOOT_EMIT_TARGET=no to disable implicit target dir. >Elapsed time: 9,921 sec > >Writing main.cljs.edn... >Compiling ClojureScript... >ò main.js >Elapsed time: 0,480 sec > >Writing main.cljs.edn... >Compiling ClojureScript... >ò main.js >java.util.concurrent.ExecutionException: java.nio.file.AccessDeniedException: ta >rget\main.out\modern_cljs\core.js
boot serve watch cljs target
makes exceptions on the first compilation now:
>java.util.concurrent.ExecutionException: java.nio.file.FileSystemException: targ
>et\main.out\modern_cljs\core.js -> C:\Users\Laurens\.boot\cache\tmp\Files\Dev\Cl
>ojure\2015\clojurescript\tutorials\modern-cljs\ng\f0sqpx\main.out\modern_cljs\co
>re.js: The system cannot move the file to a different disk drive.
followed by java.nio.file.FileSystemException and even a sun.nio.fs.WindowsException.translateToIOException
I'll do that tomorrow (lucky I have a log of what I did in this chat ) Thanks again for the help!