initially reported it here(somehow):
Basically clojure.java.io/delete-file doesn't ever return false (even when silently is true, it returns the value of silently), it's due to how it's implemented - but it's obvious from the code, so I'll stop here.
PS: this is what I'm using as my current workaround:
an implementation that returns the true/false status
which clojure.java.io/delete-file doesn't do(tested in 1.5.0-RC14)
[f & [silently]]
(let [ret (.delete (clojure.java.io/file f))]
(cond (or ret silently)
(throw (java.io.IOException. (str "Couldn't delete " f)))
I'm sure you guys can find a better way, but as a clojure newbie(really!) that's what I have.