technomancy/leiningen — Issue #427: leiningen.templates exception
Author: j1n3l0
Created: 2012-03-02 11:00:39+00:00
State: open

Hi,

I just installed leiningen v2 as `lein2` as per instructions [here](http://technomancy.us/158) and tried running `lein2`:

$ lein2
Recalculating Leiningen's classpath.
Leiningen is a tool for working with Clojure projects.

Several tasks are available:
check Check syntax and warn on reflection.
classpath Print the classpath of the current project.
clean Remove compiled class files from project.
compile Compile Clojure source into .class files.
deploy Build and deploy jar to remote repository.
deps Download all dependencies.
help Display a list of tasks or help for a given task.
install Install the current project or download the project specified.
jar Package up all the project's files into a jar file.
javac Compile Java source files.
new Generate project scaffolding based on a template.
pom Write a pom.xml file to disk for Maven interop.
profiles List all available profiles or display one if given an argument.
repl Start a repl session either with the current project or standalone.
retest Run only the test namespaces which failed last time around.
run Run a -main function with optional command-line arguments.
search Search remote maven repositories for matching jars.
template Get information about a lein-newnew template.
leiningen.templates Problem loading: java.io.FileNotFoundException: Could not locate leiningen/core/ns__init.class or leiningen/core/ns.clj on classpath:
test Run the project's tests.
trampoline Run a task without nesting the project's JVM inside Leiningen's.
uberjar Package up the project files and deps into a jar file.
upgrade Upgrade Leiningen to the latest stable release.
version Print version for Leiningen and the current JVM.
with-profile Apply the given task with the profile(s) specified.

Run lein help $TASK for details.
See also: readme, tutorial, news, sample, deploying and copying.

As you can see there is an issue with `leiningen.templates`:

leiningen.templates Problem loading: java.io.FileNotFoundException: Could not locate leiningen/core/ns__init.class or leiningen/core/ns.clj on classpath:

The sha of my checkout is [02e39e507ac4aa57d489f19eaee0dc4aca11cd33](https://github.com/technomancy/leiningen/commit/02e39e507ac4aa57d489f19eaee0dc4aca11cd33) on `master`.

Thanks.