On Tue, Mar 6, 2012 at 7:36 AM, Bob <bstewart...@gmail.com> wrote:
> I am new to clojure.  I am just trying to install and use feedparser-
> clj.  I ran "lein install" and it said it completed ok.

You generally use Clojure libraries by specifying the dependency in
your project.clj file for Leiningen to manage. You don't generally
install a library locally, unless you plan to edit the library to test
your own changes.

Create a new Clojure project:

lein new myproject
cd myproject

Edit project.clj and add [org.clojars.scsibug/feedparser-clj "0.3"] to
the :dependencies then run lein repl

That will download the library (from clojars.org) and start a
project-based repl with all the dependencies on the classpath
automatically.

Here's the feedparser-clj page on clojars.org:

http://clojars.org/org.clojars.scsibug/feedparser-clj

Note that this will also give you Clojure 1.3.0 (the current stable
version). If you run lein repl outside a project, you'll get Clojure
1.2.0 and nothing useful on your classpath.
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)

-- 
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

Reply via email to