openlayers/openlayers — pull request #49 by jorix (2011-11-12 20:12:51+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" for the launcher used in 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, this also solves the bug http://trac.osgeo.org/openlayers/ticket/3158

The application of this patch is a better alternative to applying https://github.com/openlayers/openlayers/pull/48

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