openlayers/openlayers — pull request #91 by jorix (2011-12-05 19:31:37+00:00)
Title: build.py -c closure: Show file name and line number of errors and warnings

Corresponds to the ticket http://trac.osgeo.org/openlayers/ticket/3519 with some adjustments.

The proposal is to change [closure.py](https://github.com/openlayers/openlayers/blob/master/tools/closure.py) by the launcher [jscompiler.py](http://code.google.com/p/closure-library/source/browse/trunk/closure/bin/build/jscompiler.py) used in [Closure Library](http://code.google.com/intl/ca/closure/library). This launcher requires an array of filenames as input argument and returns the compressed code as a string. So it does not require the creation of temporary files.

NOTE: "jscompiler.py" is renamed as "tools/closure_library_jscompiler.py" and is at [r1445](http://code.google.com/p/closure-library/source/detail?r=1445)

This pull request replaces the #49 that had many commits.

Tested on: Windows XP+python2.4, Vista+python2.7 and Ubuntu10+python2.6