[OpenLayers-Trac] [OpenLayers] #3158: "build.py -c closure" does not work on Windows systems.

OpenLayers trac-20090302 at openlayers.org
Mon Mar 7 16:58:36 EST 2011


#3158: "build.py -c closure" does not work on Windows systems.
------------------------------+---------------------------------------------
 Reporter:  jorix             |       Owner:              
     Type:  bug               |      Status:  new         
 Priority:  major             |   Milestone:  2.11 Release
Component:  general           |     Version:  2.10        
 Keywords:  closure compiler  |       State:              
------------------------------+---------------------------------------------
 There are two problems with tools/closure.py:
  * White space in the paths
  * MS Windows blocks the temporary files

 '''White space in the paths''':

  In Windows the paths often have spaces, eg: {{{C:\Program Files\Apache
 Software Foundation\...\tools\closure-compiler.jar}}} and the result in
 this case is to call {{{C:\Program}}} as a compiler.

 '''Windows blocks the temporary files''' (XP, Vista & W7):

  Windows prevents access to temporary files created with python to the
 closure-compiler.jar (for reading and writing)

 NOTE:
 The Closure Compiler works correctly in all cases (XP, Vista, W7 & Linux)
 using [http://code.google.com/p/closure-
 library/source/browse/trunk/closure/bin/build/jscompiler.py closure-
 library jscompiler.py] as a launcher (this launcher does not require
 output file)


 All these assertions are tested with: XP+Python25, Vista+Python27,
 W7+Python27 and Linux+Python26

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


More information about the Trac mailing list