cc886d56a3
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. |
||
---|---|---|
.. | ||
bad-require | ||
file-not-found-thrower | ||
java-main | ||
more-gen-classes | ||
native | ||
overlapped-sourcepaths | ||
provided | ||
sample | ||
sample_failing | ||
sample_no_aot | ||
tricky-name | ||
uberjar-merging | ||
with-resources | ||
README.txt |
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".