[OpenLayers-Commits] r11478 - trunk/openlayers/tools

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Fri Feb 25 05:28:53 EST 2011


Author: crschmidt
Date: 2011-02-25 02:28:52 -0800 (Fri, 25 Feb 2011)
New Revision: 11478

Modified:
   trunk/openlayers/tools/release.sh
Log:
Automatically grab and unpack the closure compiler when building releases.


Modified: trunk/openlayers/tools/release.sh
===================================================================
--- trunk/openlayers/tools/release.sh	2011-02-25 10:23:42 UTC (rev 11477)
+++ trunk/openlayers/tools/release.sh	2011-02-25 10:28:52 UTC (rev 11478)
@@ -2,10 +2,15 @@
 
 VERSION=$1
 
+wget -c http://closure-compiler.googlecode.com/files/compiler-latest.zip
+unzip compiler-latest.zip 
+
 svn export http://svn.openlayers.org/tags/openlayers/release-$VERSION OpenLayers-$VERSION
 cd OpenLayers-$VERSION/build
+mv ../../compiler.jar ../tools/closure-compiler.jar
 ./build.py -c closure full
 cp OpenLayers.js ..
+rm ../tools/closure-compiler.jar
 
 cd ..
 



More information about the Commits mailing list