Re: Unable to use/refer/require clojure.contrib
Hi Zhi Yang, The easiest way to make the transition to 1.3 is to start using new contrib libraries first. Most of them are still compatible with Clojure 1.2, so you can update your libraries first, make sure everything works, then update to Clojure 1.3. Regards, -Stuart Sierrra clojure.com -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Unable to use/refer/require clojure.contrib
is there easy way to make transition to 1.3 -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Unable to use/refer/require clojure.contrib
I'm getting such strange results trying to use the clojure contrib libraries (1.1.0). Some I can use, others I can only refer, but some I can't do either. I'm using clojure-1.2.1 and clojure- contrib-1.1.0 from: http://code.google.com/p/clojure-contrib/downloads/detail?name=clojure-contrib-1.1.0.zip. java -cp c:/clj/clojure-contrib.jar;c:/clj/clojure.jar clojure.main Clojure 1.2.1 user= (use 'clojure.contrib.str-utils) nil user= user= user= (use 'clojure.contrib.accumulators) java.lang.NoSuchMethodError: clojure.lang.RestFn.init(I)V (NO_SOURCE_FILE:0) user= (refer 'clojure.contrib.accumulators) nil user= user= user= (use 'clojure.contrib.repl-utils) java.lang.NoSuchMethodError: clojure.lang.RestFn.init(I)V (NO_SOURCE_FILE:0) user= (refer 'clojure.contrib.repl-utils) java.lang.IllegalStateException: source already refers to: #'clojure.repl/source in namespace: user (NO_SOURCE_FILE:0) user= (require 'clojure.contrib.repl-utils) java.lang.NoClassDefFoundError: Could not initialize class clojure.contrib.repl_utils__init (NO_SOURCE_FILE:0) -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Unable to use/refer/require clojure.contrib
Hi Ryan, Clojure-contrib versions 1.1.0 and 1.2.0 work only with the matching major.minor Clojure version. So if you're using Clojure 1.2.0 or 1.2.1, you need to use clojure-contrib 1.2.0. Starting with 1.3, Clojure contrib is many libraries, each with their own independent version numbers. See http://dev.clojure.org/display/doc/Clojure+Contrib http://clojure.org/downloads has links to the latest releases. Thanks, -Stuart Sierra clojure.com -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en