Changeset 15136
- Timestamp:
- 09/04/08 20:27:06 (3 months ago)
- Files:
-
- 1 modified
-
util/trunk/buildscripts/cdnBuild.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
util/trunk/buildscripts/cdnBuild.txt
r14263 r15136 6 6 > cd .. 7 7 8 Then run the build command below. This build command was updated for 1. 1, when multiversion support and CSS optimizations were added.8 Then run the build command below. This build command was updated for 1.2, when the console stripping was added, and more memory was specified for the java command. 9 9 10 10 1) Replace the xdDojoPath with the URL path that will contain the Dojo release. It should be the directory that contains the dojo, dijit and dojox directories, and SHOULD NOT end in a trailing slash. … … 12 12 2) Replace releaseName and version with the appropriate values. 13 13 14 ./build.sh profile=standard releaseName=1.1.0 cssOptimize=comments.keepLines cssImportIgnore=../dijit.css optimize=shrinksafe stripConsole=normal loader=xdomain xdDojoPath=http://o.aolcdn.com/dojo/1.1.0 version=1.1.0 copyTests=false action=release xdDojoScopeName=window[\(typeof\(djConfig\)\!\=\"undefined\"\&\&djConfig.scopeMap\&\&djConfig.scopeMap[0][1]\)\|\|\"dojo\"]14 java -Xms256m -Xmx256m -jar ../shrinksafe/custom_rhino.jar build.js profile=standard releaseName=1.2.0 cssOptimize=comments.keepLines cssImportIgnore=../dijit.css optimize=shrinksafe stripConsole=normal loader=xdomain xdDojoPath=http://o.aolcdn.com/dojo/1.2.0 version=1.2.0 copyTests=false action=release xdDojoScopeName=window[\(typeof\(djConfig\)\!\=\"undefined\"\&\&djConfig.scopeMap\&\&djConfig.scopeMap[0][1]\)\|\|\"dojo\"] 15 15 16 The result will be in the release/releaseName where releaseName matches the string above (1. 1.0).16 The result will be in the release/releaseName where releaseName matches the string above (1.2.0). 17 17 18 After placing the build on the CDN, I normally update a link for the MAJOR.MINOR version number to the latest MAJOR.MINOR.PATCH number. So, if releaseName was 1. 1.1, then update http://o.aolcdn.com/dojo/1.1 to point to http://o.aolcdn.com/dojo/1.1.1 (where http://o.aolcdn.com/dojo will be different based on the xdDojoPath build option).18 After placing the build on the CDN, I normally update a link for the MAJOR.MINOR version number to the latest MAJOR.MINOR.PATCH number. So, if releaseName was 1.2.1, then update http://o.aolcdn.com/dojo/1.2 to point to http://o.aolcdn.com/dojo/1.2.1 (where http://o.aolcdn.com/dojo will be different based on the xdDojoPath build option).