playframework/Play20 — pull request #455 by jroper (2012-09-18 12:34:37+00:00)
Title: Console error improvements

Multiple improvements/fixes to the way errors are reported on the console when compiled on the shell (eg, when running play dist):

* scala compilation errors in routes and templates are mapped back to the original source files, showing the line/column/line of code/carat under line of code that failed just like ordinary scala compilation errors
* Parsing errors in routes and templates, as well as compilation errors for assets (eg less, coffescript) now display in console like scala compilation errors, instead of an ugly stack trace
* The toString method of Play source exceptions now shows the line number
* Fixed a bug in routes compiler that resulted in the only error that could be reported was that either an HTTP verb, include or comment was expected