Hi All,
Can someone please tell me how to import the Apache commons net
library? I'm using leiningen. The project.clj looks like this:
(defproject clojure-scheme "1.0.0-SNAPSHOT"
:description "FIXME: write"
:dependencies [[org.clojure/clojure "1.2.0"]
[org.clojure/clojure-contrib "1.2.0"]
[commons-net/commons-net "2.2"]]
:dev-dependencies [[swank-clojure "1.2.2"]]
:main clojure-scheme.core)
Which puts commons-net-2.2.jar in the lib directory of my project.
How can I import and use functionality in clojure? I want to do
something like
(def telnet (new TelnetClient)) ... but all attempts failed so far.
Kind Regards
Andreas
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en