Added warning for downloading maven search indices. It's slow.

This commit is contained in:
Phil Hagelberg 2011-07-25 16:35:11 -07:00
parent 53141eab86
commit cdf05ed2eb

View file

@ -27,7 +27,7 @@
(defn- download-index [[id {url :url}]]
(with-open [stream (.openStream (remote-index-url url))]
(println "Downloading index from" id "-" url)
(println "Downloading index from" id "-" url "... this may take a while.")
(let [tmp (java.io.File/createTempFile "lein" "index")]
(try (io/copy stream tmp)
(unzip tmp (index-location url))