Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error using cp #502

Closed
mrmcc3 opened this issue Sep 6, 2016 · 1 comment
Closed

error using cp #502

mrmcc3 opened this issue Sep 6, 2016 · 1 comment

Comments

@mrmcc3
Copy link

mrmcc3 commented Sep 6, 2016

I get the following error using 2.6.0 but not 2.5.5

java.lang.IllegalArgumentException: No matching method found: copy
                                ...
              boot.tmpdir/add-blob!                        tmpdir.clj:   87

To reproduce

(set-env! :resource-paths #{"test"})

(require '[clojure.java.io :as io])

(deftask copy []
  (with-pre-wrap filest
    (-> fileset
        (cp (io/file "build.boot") (-> fileset input-files first))
        commit!)))

If my understanding is correct running boot copy should replace a file in test dir with contents of build.boot

@martinklepsch
Copy link
Member

Old bug but still present. Seems nobody is using boot.tmpdir/cp 😹
Opened a PR for a fix in #675.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants