samaaron/serial-port — Issue #2: Lein support
Author: osa1
Created: 2012-02-09 12:19:31+00:00
State: open

I think something about rxtx dependency doesn't get along with leiningen. Here's how I produce the error:

➜ ~ lein new serial-port-test
Created new project in: /home/sinan/serial-port-test
Look over project.clj and start coding in serial_port_test/core.clj
➜ ~ cd serial-port-test
➜ serial-port-test vim project.clj
➜ serial-port-test cat project.clj
(defproject serial-port-test "1.0.0-SNAPSHOT"
:description "FIXME: write description"
:dependencies [[org.clojure/clojure "1.3.0"]
[serial-port "1.1.1"]
[rxtx22 "1.0.5"]])
➜ serial-port-test lein deps
Copying 3 files to /home/sinan/serial-port-test/lib
➜ serial-port-test lein repl
REPL started; server listening on localhost port 36978
user=> (use 'serial-port)
ClassNotFoundException gnu.io.CommPortIdentifier java.net.URLClassLoader$1.run (URLClassLoader.java:202)
user=>
➜ serial-port-test lein version
Leiningen 1.7.0 on Java 1.6.0_29 Java HotSpot(TM) 64-Bit Server VM

I'm not sure whether it's about lein or serial-port though.