Changeset 15136

Show
Ignore:
Timestamp:
09/04/08 20:27:06 (3 months ago)
Author:
jburke
Message:

Refs #6687, updates to the CDN build process.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • util/trunk/buildscripts/cdnBuild.txt

    r14263 r15136  
    66> cd .. 
    77 
    8 Then run the build command below. This build command was updated for 1.1, when multiversion support and CSS optimizations were added.  
     8Then 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.  
    99 
    10101) 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.  
     
    12122) Replace releaseName and version with the appropriate values. 
    1313 
    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\"] 
     14java -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\"] 
    1515 
    16 The result will be in the release/releaseName where releaseName matches the string above (1.1.0). 
     16The result will be in the release/releaseName where releaseName matches the string above (1.2.0). 
    1717 
    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). 
     18After 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).