playframework/play1 — pull request #720 by gslowikowski (2013-12-30 13:17:13+00:00)
Title: [1774] -Dprecompiled=true does not end up using precompiled html files

Precompiled templates and "routes" files from application and dependent modules used when Play! started with "-Dprecompiled=true" switch. Source files can be removed (for example in production environment).
All template sources ("app/views"and "modules/*/app/views" can be removed). Application "conf/routes" file cannot be removed because Python scripts check if it's present. "modules/*/conf/routes" files can be removed.
For every file if there is no precompiled version available, source version will be used (id present).

This PR replaces https://github.com/playframework/play1/pull/717 (see comment https://github.com/playframework/play1/pull/717#issuecomment-31269304). It supports all precompiled files: all views and "routes" files (including the ones from dependent modules).