| CODENOTIFIER | HelpYou are not signed inSign in |
Project: dojo
Revision: 15136
Author: jburke
Date: 04 Sep 2008 23:27:06
Diff at Trac: http://trac.dojotoolkit.org/changeset/15136
Changes:Refs #6687, updates to the CDN build process.
Files:| ... | ...@@ -5,14 +5,14 @@ | |
| 5 | 5 | > ant |
| 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. |
| 11 | 11 | |
| 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). |