serial-port icon indicating copy to clipboard operation
serial-port copied to clipboard

Lein support

Open osa1 opened this issue 12 years ago • 4 comments

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.

osa1 avatar Feb 09 '12 12:02 osa1