[OpenLayers-Trac] [OpenLayers] #3519: build.py -c closure: Show file name and line number of errors and warnings.

OpenLayers trac-20090302 at openlayers.org
Sun Sep 25 07:00:53 EDT 2011


#3519: build.py -c closure: Show file name and line number of errors and warnings.
---------------------------+------------------------------------------------
 Reporter:  jorix          |       Owner:              
     Type:  feature        |      Status:  new         
 Priority:  minor          |   Milestone:  2.12 Release
Component:  general        |     Version:  2.11        
 Keywords:  build closure  |       State:              
---------------------------+------------------------------------------------
 When errors or warnings from compilation is more comfortable to see
 directly where they are produced. Currently must guess the location of the
 errors using {{{OpenLayers.js}}} obtained by {{{build.py -c none}}}.

 To obtain this feature is necessary pass to the compiler a list of
 filenames instead of the merged file.

 The implementation proposes to use [http://code.google.com/p/closure-
 library/source/browse/trunk/closure/bin/build/jscompiler.py jscompiler.py]
 used in the Closure Library. Changes are proposed in {{{mergejs.py}}} so
 can return a merged file or a list of files, but has remained the same
 code for the selection and determine order of source files. There are also
 changes in {{{build.py}}}

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3519>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list