If you're using leiningen, you can create a new project with 'lein new'. In that project, you'll find a file called 'project.clj'. Open that file, and under :dependencies, add this to the vector: [clj-time "0.2.0-SNAPSHOT"]
Save the file and then run 'lein deps'. After that, running lein repl/ swank will put it on the classpath. However, if you just want to create a jar out of clj-time that you're going to put on the classpath manually for some reason, you can just do 'lein jar' and it should jar it right up. There is no reason to compile it. On Nov 25, 9:05 am, Prometheus <prometheus.willsurv...@gmail.com> wrote: > Hi Steve, > > I am new on clojure and testing cascalog . I needed clj-time > library .. > > I downloaded its files from git and cd clj-time than type lein > deps && lein compile.. > > its creating classes and lib directory but nothing inside. So i am > miising something.. > > what is the proper way to compile clj-time to use from clj > like : (use 'clj-time.core) ? > > need help :) > > thanks > > On Oct 11, 3:57 pm, "Stephen C. Gilardi" <squee...@mac.com> wrote: > > > > > On Oct 10, 2010, at 3:05 PM, HiHeelHottie wrote: > > > > I'm runningleinswank and using slime-connect from emacs. When I use > > >leincompileafter making changes to a method, they don't appear to > > > get picked up unless I bring downleinswank, bring it up again, slime- > > > connect, etc. > > > > Is there a way to getleincompilechanges to be picked up by an > > > already runningleinswank? Also, would be interested to hear about > > > the workflow others are using withleinto develop a java class. > > > I believe you're seeing the effects of the Java behavior that (at least by > > default) a class loader will only load a given ".class" file once in the > > lifetime of a given JVM. Its contents are cached and the cache is used for > > all further reference to the classes defined in it. > > > To be more dynamic than that you can arrange for your generated class to > > call out to Clojure functions to do some or all of its actual work. New > > versions of the Clojure functions you're working on can be loaded into a > > runningleinswank as many times as you'd like from ".clj" files. > > > --Steve -- 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