I am trying to set up a lein build environment on Windows 7 haven copied files from a successful build environment on Linux. I have maven and the jdk installed along with lein.
HOME points to c:\Users\cnorton
where the maven directories are located.
I get this error when trying to run lein repl or lein compile, and cannot figure out what I am doing wrong.
Caused by: java.lang.Exception: namespace 'repl-test.core' not found after loading '/repl_test/core'
Here is project.clj
(defproject repl-test "0.0.1-SNAPSHOT"
:description "TODO: add summary of your project"
:dependencies [[org.clojure/clojure "1.4.0"]
[org.clojure/clojure-contrib "1.2.0"]
[clojure-csv/clojure-csv "1.2.4"]
[org.clojure/tools.cli "0.1.0"]
[clj-http "0.1.3"]]
:aot [repl-test.core]
:main repl-test.core)
Here is the first part of src/repl_test/core.clj
(ns repl-test.core
(:gen-class)
(:use clojure.contrib.command-line)
(:require [clojure.contrib.string :as cstr])
(:require [clojure.contrib.trace :as ctr])
(:require [clojure.string :as sstr])
(:use clojure-csv.core))
I would be super helpful if someone could post as an answer a project.clj and the header of a core.clj that allows the project to be a main.