Issue #2271803 by markpavlitski: May not detect java if usage string is returned on stderr
Issue #2271895 by markpavlitski: May not find compiler.jar if the PATH environment variable does not contain Drupal's directory
Some minor bug fixes are included for the YUI Compressor sub-module.
JSMin-PHP is now included as a sub-module. It is highly recommended that this service is NOT used, as the Closure Compiler and UglifyJS2 are both far superior! However this provides an option for any users who do not wish to use an external service, and cannot run java locally.
Optimization services are now sub-modules, and the main closure_compiler module provides a framework for these.
Along those lines, there are now three optimization services available: Closure Compiler (local / remote), UglifyJS2 (remote), and YUI Compressor (local).
A couple of minor bug fixes.
Additionally, the original JS files are now kept (at filename.src.js) and referenced at the beginning of the optimized JS files. This allows the licences to remain intact and available, without them having to remain in the optimized files (previously they were just stripped anyway!)
This is a port of the Closure Compiler module, to work with Drupal 7.
The configuration interface has not been altered (settings can be found at admin/config/development/performance), but there have been a number of under-the-hood changes.
I have not yet tested local compilation, but will get around to that eventually (or if someone else could do so and let me know of any errors it would be helpful).
Removed .install file that set the preferred method to local compiling on install if the environment passed all the checks. Local compiling has to be selected manually after install now.
* Added Google Closure Compiler Application support (java based local compiling)
* Performance improvements: For checking whether a file has been processed before, only reading the sufficient number of bytes as opposed to
whole file
* Moved the settings under performance tab