technomancy/leiningen — Issue #325: `lein eclipse` plugin causes all lein commands to fail
Author: klauern
Created: 2011-11-15 03:32:57+00:00
State: open

Related to a google group discussion (https://groups.google.com/d/topic/leiningen/INO3Cq8RHcw/discussion), I generate the project with `lein eclipse` and then try running any `lein` command and get an error:

```cmd
PS C:\mydocs\Clojure\github.clj> lein
Leiningen is a tool for working with Clojure projects.

Several tasks are available:
... usual stuff

Run lein help $TASK for details.
See also: readme, tutorial, copying, sample, deploying and news.
PS C:\mydocs\Clojure\github.clj> lein eclipse
Created .classpath
Created .project
PS C:\mydocs\Clojure\github.clj> lein
The syntax of the command is incorrect.
PS C:\mydocs\Clojure\github.clj> del .project
PS C:\mydocs\Clojure\github.clj> del .classpath
PS C:\mydocs\Clojure\github.clj> lein
Leiningen is a tool for working with Clojure projects.

Several tasks are available:
.... usual stuff
Run lein help $TASK for details.
See also: readme, tutorial, copying, sample, deploying and news.
PS C:\mydocs\Clojure\github.clj>
```

It was mentioned that this was fixed in `1.6.2-SNAPSHOT`, but since `1.6.2` is out, this persists, so I'm not sure if this was missed or pulled out at the last minute.