technomancy/leiningen — Issue #390: When Leiningen is missing dependencies, need a way to start fresh, from scratch.
Author: aaelony
Created: 2012-01-31 06:05:39+00:00
State: open

] git clone git://github.com/technomancy/leiningen.git
] cd leiningen/leiningen-core/
] ../bin/lein deps
ls: ../leiningen-core/lib/*: No such file or directory
Leiningen is missing its dependencies.
Please see "Building" in the README.
cd ..

README.md says
"## Building

You don't need to "build" Leiningen per se, but when you're using a
checkout you will need to get its dependencies in place.

Using Leiningen 1.x, run `lein deps` in the `leiningen-core`
subproject directory. Once you do that in most cases a `bin/lein
self-install` will usually get you what you need. However, this will
occasionally fail for very new SNAPSHOT versions since the standalone
jar will not have been uploaded yet."

...but lein deps is broken on my faulty machine (I have another machine where there is no issue) due to missing dependencies.
Need a method to start fresh from scratch.

]: tree
.
|____.git
| |____config
| |____description
| |____HEAD
| |____hooks
| | |____applypatch-msg.sample
| | |____commit-msg.sample
| | |____post-update.sample
| | |____pre-applypatch.sample
| | |____pre-commit.sample
| | |____pre-rebase.sample
| | |____prepare-commit-msg.sample
| | |____update.sample
| |____index
| |____info
| | |____exclude
| |____logs
| | |____HEAD
| | |____refs
| | | |____heads
| | | | |____master
| |____objects
| | |____info
| | |____pack
| | | |____pack-17850c03db7a1edf78ad8bfc7ed42d51112dd24a.idx
| | | |____pack-17850c03db7a1edf78ad8bfc7ed42d51112dd24a.pack
| |____packed-refs
| |____refs
| | |____heads
| | | |____master
| | |____remotes
| | | |____origin
| | | | |____HEAD
| | |____tags
|____.gitattributes
|____.gitignore
|____.travis.yml
|____bash_completion.bash
|____bin
| |____lein
| |____lein-pkg
| |____lein.bat
|____COPYING
|____doc
| |____DEPLOY.md
| |____lein.1
| |____PLUGINS.md
| |____TUTORIAL.md
|____lein-pprint
| |____project.clj
| |____README.md
| |____src
| | |____leiningen
| | | |____pprint.clj
|____leiningen-core
| |____dev-resources
| | |____p1.clj
| |____project.clj
| |____README.md
| |____src
| | |____leiningen
| | | |____core
| | | | |____classpath.clj
| | | | |____eval.clj
| | | | |____main.clj
| | | | |____ns.clj
| | | | |____project.clj
| | | | |____user.clj
| |____test
| | |____leiningen
| | | |____bluuugh.clj
| | | |____core
| | | | |____test
| | | | | |____classpath.clj
| | | | | |____eval.clj
| | | | | |____main.clj
| | | | | |____project.clj
| | | |____one_or_two.clj
| | | |____var_args.clj
|____NEWS
|____pcmpl-lein.el
|____pom.xml
|____project.clj
|____README.md
|____resources
| |____leiningen
| | |____help
| | | |____copying
| | | |____deploying
| | | |____news
| | | |____readme
| | | |____sample
| | | |____tutorial
| |____leiningen.png
| |____script-template
| |____script-template.bat
|____sample.project.clj
|____src
| |____leiningen
| | |____classpath.clj
| | |____clean.clj
| | |____compile.clj
| | |____deploy.clj
| | |____deps.clj
| | |____help.clj
| | |____install.clj
| | |____jar.clj
| | |____javac.clj
| | |____new
| | | |____default
| | | | |____core.clj
| | | | |____gitignore
| | | | |____project.clj
| | | | |____README.md
| | | | |____test.clj
| | | |____default.clj
| | | |____plugin
| | | | |____gitignore
| | | | |____name.clj
| | | | |____project.clj
| | | | |____README.md
| | | |____plugin.clj
| | | |____template
| | | | |____foo.clj
| | | | |____gitignore
| | | | |____project.clj
| | | | |____README.md
| | | | |____temp.clj
| | | |____template.clj
| | | |____templates.clj
| | |____new.clj
| | |____pom.clj
| | |____repl.clj
| | |____retest.clj
| | |____run.clj
| | |____search.clj
| | |____templates.clj
| | |____test.clj
| | |____trampoline.clj
| | |____uberjar.clj
| | |____upgrade.clj
| | |____version.clj
| | |____with_profile.clj
|____test
| |____leiningen
| | |____core.clj
| | |____test
| | | |____compile.clj
| | | |____deploy.clj
| | | |____deps.clj
| | | |____help.clj
| | | |____helper.clj
| | | |____install.clj
| | | |____jar.clj
| | | |____javac.clj
| | | |____new.clj
| | | |____pom.clj
| | | |____run.clj
| | | |____search.clj
| | | |____test.clj
| | | |____uberjar.clj
| |____sample-index.zip
|____test_projects
| |____native
| | |____.gitignore
| | |____project.clj
| |____README.txt
| |____sample
| | |____checkouts
| | | |____sample2
| | | | |____.gitignore
| | | | |____project.clj
| | | | |____README
| | | | |____src
| | | | | |____sample2
| | | | | | |____alt.clj
| | | | | | |____core.clj
| | | | |____test
| | | | | |____sample2
| | | | | | |____core_test.clj
| | |____project.clj
| | |____src
| | | |____nom
| | | | |____nom
| | | | | |____nom.clj
| | |____test
| | | |____test_nom_nom_nom.clj
| |____sample_failing
| | |____project.clj
| | |____src
| | | |____nom
| | | | |____nom
| | | | | |____nom.clj
| |____sample_no_aot
| | |____project.clj
| | |____src
| | | |____nom
| | | | |____nom
| | | | | |____nom.clj
| | |____test
| | | |____selectors.clj
| |____tricky-name
| | |____.gitignore
| | |____project.clj
| | |____src
| | | |____org
| | | | |____domain
| | | | | |____tricky_name
| | | | | | |____brunch.clj
| | | | | | |____core.clj
| | | | | | |____munch.clj
|____todo.org
|____TUTORIAL.md
|____zsh_completion.zsh