leiningen/test_projects
Gary Fredericks cc886d56a3 lein run: don't catch app errors as require errors
closes #1469

`lein run` currently has some special error handling around
FileNotFoundException which helps it decide what exactly it should
do. Unfortunately if the actual running of the given main function
itself throws a FileNotFoundException this is currently caught by
Leiningen and assumed to be a require error.

The simple solution is to run the main method outside of that error
handling block.

Regression test provided.
2014-03-13 20:17:59 -05:00
..
bad-require Don't try static methods on lein run: better error msg 2013-05-22 17:32:23 -05:00
file-not-found-thrower lein run: don't catch app errors as require errors 2014-03-13 20:17:59 -05:00
java-main Reenable java main run test. 2013-08-24 17:36:21 +02:00
more-gen-classes Update remaining 2 "great documentation" links 2013-12-17 08:53:36 -07:00
native Don't re-extract native deps unless deps have changed. Fixes #535. 2012-05-07 16:29:31 -07:00
overlapped-sourcepaths Add a failing test for overlapped sourcepaths. 2012-03-06 15:58:14 -06:00
provided Test :provided profile interpretation by the uberjar task. 2012-11-17 17:38:11 -05:00
sample Fallback to .nrepl-port for 'repl :connect' subtask 2013-10-01 15:18:25 -04:00
sample_failing Move AOT of :main into uberjar task. Remove :skip-aot. 2012-11-12 15:30:43 -08:00
sample_no_aot #1269: Skip tests differently when using :test-selectors 2013-07-31 23:29:19 -05:00
tricky-name Remove commented-out shell wrapper remainders. 2012-08-01 09:42:20 -07:00
uberjar-merging More nuanced merging of project defaults. 2013-10-14 19:59:18 -04:00
with-resources fix(jar): Add directory entries to the jar file 2013-08-21 14:30:10 +03:00
README.txt Added a build-failing project for flexing compilation-failing aware 'jar'; created test_projects and moved sample there too 2010-08-23 23:03:52 -04:00

These projects are used for leiningen's test suite, so don't change
any of these values without updating the relevant tests. If you
just want a basic project to work from, generate a new one with
"lein new".