I would like to resolve my problem for classpath.Could you tell me how to do?
Then slimv display the followings.
user>
(+ 1 1)
2
(use '[clojure.contrib.str-utils :only (re-split)])
; Evaluation aborted on java.io.FileNotFoundException: Could not locate clojure/contrib/str_utils__init.class or clojure/contrib/str_utils.clj on classpath:
(defproject helloworld "1.0.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.4.0"]]
:plugins [[lein-ritz "0.7.0"]]
)
{:user {:plugins [
[lein-ritz "0.7.0"]
]}}
Have you tried clojure.string
?
(use '[clojure.string :only (split)])
(split "clojure8*)-6contrib&(*does^&$not*_^%exist^*#anymore" #"[^a-zA-Z]+")
=> ["clojure" "contrib" "does" "not" "exist" "anymore"]
BTW all clojure.contrib
have been migrated to separated libraries http://dev.clojure.org/display/design/Where+Did+Clojure.Contrib+Go