This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-11-19
Channels
- # admin-announcements (8)
- # beginners (90)
- # boot (69)
- # bristol-clojurians (3)
- # cider (32)
- # cljs-dev (2)
- # cljsrn (22)
- # clojure (45)
- # clojure-art (2)
- # clojure-poland (102)
- # clojure-russia (91)
- # clojurescript (38)
- # cursive (27)
- # datomic (45)
- # devcards (7)
- # emacs (45)
- # gorilla (25)
- # hoplon (3)
- # jobs (1)
- # ldnclj (7)
- # off-topic (4)
- # om (176)
- # onyx (3)
- # portland-or (7)
- # re-frame (12)
- # reagent (64)
- # yada (26)
Downloaded latest boot.exe
.
Running boot dev
and changing a file gives me this huge list of "Couldn't delete" exceptions
I updated boot and deleted the ~/.boot/cache
and properties files, still same issue. I have BOOT_HOME
set in win7 variables.
My boot -V
#
#Thu Nov 19 12:08:46 CET 2015
BOOT_CLOJURE_NAME=org.clojure/clojure
BOOT_VERSION=2.4.2
BOOT_CLOJURE_VERSION=1.7.0
#App version: 2.4.2
I'm using the latest clojure (`1.8.0-RC2`) and cljs (`1.7.170`) which should already contain the fixes for file handle leaks.@xifi the output shows clojure 1.7.0
@martinklepsch: yeah the boot.properties
file from the lein template has that set up. I'll try and change it to 1.8.0-RC2
#
#Thu Nov 19 12:37:15 CET 2015
BOOT_CLOJURE_NAME=org.clojure/clojure
BOOT_VERSION=2.4.2
BOOT_CLOJURE_VERSION=1.8.0-RC2
#App version: 2.4.2
still same resultsCan you paste a complete exception?
@xifi: do you have a root dir “home”? is the project on the same disk as $BOOT_HOME?
@martinklepsch: I only have one disk, C:\
. The first part I don't understand I do have an env variable
HOME
set to C:\home
but some applications honor that and some don't. Here it decides to use my user's path C:\Users\IBM_ADMIN
as the base
since the user path was the one used by default I added an env var for BOOT_HOME
pointing to the same place, C:\Users\IBM_ADMIN
C:\Users\IBM_ADMIN\.boot\cache\tmp\home\code\cljs\address-book\5xw\11lgcg\index.html
the bit behind tmp
is from a root dir, that’s why I asked.
That said I don’t know what’s going on, there are some issues with cache dir and project dir not being on the same disk but that does not seem applicable in your case
I’d suggest creating a minimal case and opening an issue on Github
after the fix it worked fine, now coming back after a month or two I have the same issue :O
The issue also occurs with files outside of cljs’ control like index.html
so it seems more like a boot issue to me
have you tried with boot v2.3.0? maybe there’s a windows regression in 2.4.2?
maybe try with 2.2.0
as well just to be sure
tracking down the change you made in your project that made this issue reappear would be most helpful
@martinklepsch: testing now. I didn't make any change to a project, I just started going through the hoplon tutorial as a refresher
btw, ppl, have u read the "What Software is Made Of" article? http://siderea.livejournal.com/1241996.html?format=light im curious what do u think...
Am I supposed to be passing anonymous functions to the :filter
flag, or just function names?
@bsima: seems you’re supposed to pass anon fns
the source is rather hard to decipher https://github.com/adzerk-oss/boot-test/blob/master/src/adzerk/boot_test.clj#L58-L61
I think that is inlining the filter functions you provide into (fn [%] (and ...)
, then wrapping that lambda in test-ns*
with a partial, then mapping that over the collection of namespaces
(map (partial test-ns* (fn [%] (and my-filters))) namespaces)
where my-filters
are the filter functions you provide, and namespaces
is the seq of namespaces that boot can find
Tried without the #
?
with a single quote?
I guess your shell waits for end of string?
try boot test -f (println %)
admittedly that API is strange and should probably be changed to something similar to this: https://github.com/hashobject/perun/blob/master/src/io/perun.clj#L262
I tried that too. See above snippet I posted, I just get back "unable to resolve symbol"
I mean, the current api is really lispy and (I think) lets you chain filters together, but I just need a few examples to figure out how to use it
@alqvist: just stumbled upon this by accident: https://github.com/upgradingdave/upgradingdave-boot/blob/cb3a0d59477ead3cab5f0e3bfd2b5153f0afd4bc/src/upgradingdave/boot_expect.clj
@martinklepsch, @alqvist I’ve been using that expect boot task on a side project and it’s a little rough but gets the job done for me at least if you have any trouble with it, please let me know
This is weird: taking a cue from the upgradingdave-boot readme, I tried boot test -f "(= \"test.profiler\" %)"
. That printed out the names of all my namespaces, but ran zero tests
did you somehow still have the previous println filter function?
the thing is, the test runner still prints the names of namespaces that it isn't testing
does anybody have a public project that uses tailrecursion/clojure-adapter-servlet
or https://github.com/adzerk-oss/boot-beanstalk?
@bensu: what are you deploying to?
so i think what you want is a combination of the web, uber, and war tasks
that's what we tend to do now, and then use the aws cli to deploy it