This fixed it. Thanks Gaz Jones:

:dependencies [[org.clojure/clojure "1.2.1"]
                      [org.clojure/tools.cli "0.1.0"]]

On Jul 29, 10:01 am, octopusgrabbus <octopusgrab...@gmail.com> wrote:
> I have downloaded the source to tools.cli and built it with maven.
> I've put the jar out in /usr/share/java, and created a link to it:
>
> sudo ln -s /usr/share/java/tools.cli-0.1.0.jar /usr/share/java/
> tools.cli.jar.
>
> I am getting this error on compile
>
> Caused by: clojure.lang.Compiler$CompilerException:
> java.io.FileNotFoundException: Could not locate clojure/tools/
> cli__init.class or clojure/tools/cli.clj on classpath:
> (addr_verify.clj:2)
>
> (ns addr-verify
>   (:gen-class)
>   (:require [clojure.string :as cstr])
>   (:require [clojure.contrib.str-utils :as ustr])
>   (:require [clj-http.client :as client])
>   (:use clojure-csv.core)
>   (:use [clojure.tools.cli])
>   (:import java.util.Date)
>   (:import java.lang.Thread)
>   )
>
> I've looked at how this is "included' in both cli's test directory and
> on the internet, and I'm still getting the error.
> Any help would be appreciated.
> tnx
> cmn

-- 
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
  • Building cli octopusgrabbus
    • Re: Building cli octopusgrabbus

Reply via email to