Changeset 7264
- Timestamp:
- 02/08/07 23:24:26 (22 months ago)
- Files:
-
- 1 modified
-
trunk/buildscripts/webbuild/webbuild.sh (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/buildscripts/webbuild/webbuild.sh
r7184 r7264 3 3 # Define variables used for rest of the script 4 4 version=0.4.2ALPHA 5 xdDojoUrl=http://dojotoolkit.org/~jburke/ $version5 xdDojoUrl=http://dojotoolkit.org/~jburke/webbuild/$version 6 6 versionSuffix=xdomain 7 7 … … 18 18 #Do xdajax build. 19 19 #Mark the dojo.js has an xdomain build, complete with xdomain path for Dojo. 20 ant -Dprofile=ajax -DreleaseName=$version -xdajax-Dversion=$version$versionSuffix -DxdDojoUrl=$xdDojoUrl clean release intern-strings xd-dojo-config20 ant -Dprofile=ajax -DreleaseName=$version -DdojoLoader=xdomain -Dversion=$version$versionSuffix -DxdDojoUrl=$xdDojoUrl clean release intern-strings xd-dojo-config 21 21 22 22 #src folders/buildscripts for the webbuild stuff. … … 36 36 cp -r ../../Storage_version8.swf . 37 37 38 #Stamp the web build with the xd Dojo URL. 39 #xxx 40 38 #Stamp the web build with the xd Dojo URL and version. 41 39 cd buildscripts/webbuild 42 cat index.html | sed "s/@VERSION@/$version/g" | sed "s /@XD_DOJO_URL@/$xdDojoUrl/g" > index.out.html40 cat index.html | sed "s/@VERSION@/$version/g" | sed "s|@XD_DOJO_URL@|$xdDojoUrl|g" > index.out.html 43 41 mv index.out.html index.html 44 42 … … 49 47 50 48 #Now in release folder. Bundle it all up. 51 zip -r dojo-$version.zip $version -xdajax/* web/*49 zip -r dojo-$version.zip $version/* web/* 52 50 mv dojo-$version.zip ../.. 53 51