Re: Cake CLASSPATH Error

2011-07-27 Thread octopusgrabbus
Thanks. It appears it was set up correctly all along, but didn't have
the extra directories created by cake new.

On Jul 27, 3:09 pm, Mark Rathwell  wrote:
> Namespace file locations start from the src directory, in your project
> directory.  So, a file that declares namespace addr-verify should be located
> in src/addr_verify.clj.  A file that declares namespace
> addr-verify.addr-verify would be found in src/addr_verify/addr_verify.clj.
>
> On Wed, Jul 27, 2011 at 2:42 PM, octopusgrabbus 
> wrote:
>
>
>
>
>
>
>
> > I originally had a project set up that built correctly, but the
> > project directories had not been set up with cake new.
>
> > I saved my project and main files; created a new project tree with
> > cake new addr_verify; and then replaced project.clj and
> > addr_verify.clj with the working files. Before, addr_verify.clj needed
> > to go into addr_verify/src, and this time it went into addr_verify/src/
> > addr_verify.
>
> > Here is my CLASSPATH /usr/share/java
>
> > I'm getting this error on cake compile and am not sure how to correct
> > the error or what to add. I would appreciate help.
>
> > java.lang.RuntimeException: java.io.FileNotFoundException: Could not
> > locate addr_verify__init.class or addr_verify.clj on classpath:
>
> > this is project.clj
> > (defproject util-str "0.0.1-SNAPSHOT"
> >  :description "This provides some string handling routines not found
> > directly in Clojure's libraries."
> >  :dependencies [[org.clojure/clojure "1.2.1"]
> >                 [org.clojure/clojure-contrib "1.2.0"]
> >                 [clojure-csv/clojure-csv "1.2.4"]
> >                 [clj-http "0.1.3"]])
>
> > this is the first few lines of addr_verify.clj
>
> > (ns addr-verify
> >  (:gen-class)
> >  (:use clojure.contrib.command-line)
> >  (:require [clojure.string :as cstr])
> >  (:require [clojure.contrib.str-utils :as ustr])
> >  (:require [clj-http.client :as client])
> >  (:import java.util.Date)
> >  (:import java.lang.Thread)
> >  (:use clojure-csv.core))
>
> > (def accumail-url-keys ["CA", "STREET", "STREET2", "CITY", "STATE",
> > "ZIP", "YR", "BILL_NO", "BILL_TYPE"] )
> > (def accumail-url "http://MailVerify/Lookup/chkAddr.asp";)
>
> > Thanks. 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

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


Re: Cake CLASSPATH Error

2011-07-27 Thread Mark Rathwell
Namespace file locations start from the src directory, in your project
directory.  So, a file that declares namespace addr-verify should be located
in src/addr_verify.clj.  A file that declares namespace
addr-verify.addr-verify would be found in src/addr_verify/addr_verify.clj.


On Wed, Jul 27, 2011 at 2:42 PM, octopusgrabbus wrote:

> I originally had a project set up that built correctly, but the
> project directories had not been set up with cake new.
>
> I saved my project and main files; created a new project tree with
> cake new addr_verify; and then replaced project.clj and
> addr_verify.clj with the working files. Before, addr_verify.clj needed
> to go into addr_verify/src, and this time it went into addr_verify/src/
> addr_verify.
>
> Here is my CLASSPATH /usr/share/java
>
> I'm getting this error on cake compile and am not sure how to correct
> the error or what to add. I would appreciate help.
>
> java.lang.RuntimeException: java.io.FileNotFoundException: Could not
> locate addr_verify__init.class or addr_verify.clj on classpath:
>
> this is project.clj
> (defproject util-str "0.0.1-SNAPSHOT"
>  :description "This provides some string handling routines not found
> directly in Clojure's libraries."
>  :dependencies [[org.clojure/clojure "1.2.1"]
> [org.clojure/clojure-contrib "1.2.0"]
> [clojure-csv/clojure-csv "1.2.4"]
> [clj-http "0.1.3"]])
>
> this is the first few lines of addr_verify.clj
>
> (ns addr-verify
>  (:gen-class)
>  (:use clojure.contrib.command-line)
>  (:require [clojure.string :as cstr])
>  (:require [clojure.contrib.str-utils :as ustr])
>  (:require [clj-http.client :as client])
>  (:import java.util.Date)
>  (:import java.lang.Thread)
>  (:use clojure-csv.core))
>
> (def accumail-url-keys ["CA", "STREET", "STREET2", "CITY", "STATE",
> "ZIP", "YR", "BILL_NO", "BILL_TYPE"] )
> (def accumail-url "http://MailVerify/Lookup/chkAddr.asp";)
>
> Thanks. 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

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

Cake CLASSPATH Error

2011-07-27 Thread octopusgrabbus
I originally had a project set up that built correctly, but the
project directories had not been set up with cake new.

I saved my project and main files; created a new project tree with
cake new addr_verify; and then replaced project.clj and
addr_verify.clj with the working files. Before, addr_verify.clj needed
to go into addr_verify/src, and this time it went into addr_verify/src/
addr_verify.

Here is my CLASSPATH /usr/share/java

I'm getting this error on cake compile and am not sure how to correct
the error or what to add. I would appreciate help.

java.lang.RuntimeException: java.io.FileNotFoundException: Could not
locate addr_verify__init.class or addr_verify.clj on classpath:

this is project.clj
(defproject util-str "0.0.1-SNAPSHOT"
  :description "This provides some string handling routines not found
directly in Clojure's libraries."
  :dependencies [[org.clojure/clojure "1.2.1"]
 [org.clojure/clojure-contrib "1.2.0"]
 [clojure-csv/clojure-csv "1.2.4"]
 [clj-http "0.1.3"]])

this is the first few lines of addr_verify.clj

(ns addr-verify
  (:gen-class)
  (:use clojure.contrib.command-line)
  (:require [clojure.string :as cstr])
  (:require [clojure.contrib.str-utils :as ustr])
  (:require [clj-http.client :as client])
  (:import java.util.Date)
  (:import java.lang.Thread)
  (:use clojure-csv.core))

(def accumail-url-keys ["CA", "STREET", "STREET2", "CITY", "STATE",
"ZIP", "YR", "BILL_NO", "BILL_TYPE"] )
(def accumail-url "http://MailVerify/Lookup/chkAddr.asp";)

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