[OpenLayers-Trac] [OpenLayers] #3618: Problems with closure
compiler under windows.
OpenLayers
trac-20090302 at openlayers.org
Mon Feb 13 15:17:08 EST 2012
#3618: Problems with closure compiler under windows.
----------------------+-----------------------------------------------------
Reporter: scaddenp | Owner:
Type: feature | Status: new
Priority: minor | Milestone: 2.12 Release
Component: general | Version: 2.11
Keywords: | State:
----------------------+-----------------------------------------------------
The README instructions for closure compiler do not work. Looking at the
build.py,
looking in build.py, I found comments which refer to a jscompiler.py which
presumably gets renamed to closure_library_jscompiler. I downloaded that.
Now get.
C:\Program Files\openlayers\build>build.py -c closure full
OpenLayers-closure.js
Merging libraries.
Traceback (most recent call last):
File "C:\Program Files\openlayers\build\build.py", line 117, in
<module>
build(args[0], args[1], options=options)
File "C:\Program Files\openlayers\build\build.py", line 55, in build
sourceFiles = mergejs.getNames(sourceDirectory, configFilename)
AttributeError: 'module' object has no attribute 'getNames'
Summit broken here...
I tried this a checkout of the current svn openlayers.
Workaround:
build.py -c none myconfig.cfg uncompressed.js
java -jar ..\tools\closure-compiler.jar --js uncompressed.js
--js_output_file OpenLayers-closure.js
copy /b license.txt+OpenLayers-closure.js ..\OpenLayers.js
--
Ticket URL: <http://trac.openlayers.org/ticket/3618>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list