Changeset 7460
- Timestamp:
- 02/27/07 11:49:16 (18 months ago)
- Location:
- trunk
- Files:
-
- 5 modified
- 1 copied
-
buildscripts/convertTestsToXDomain.js (copied) (copied from branches/0.4/buildscripts/convertTestsToXDomain.js)
-
buildscripts/makeDojoJsWeb.js (modified) (2 diffs)
-
buildscripts/profiles/editor.profile.js (modified) (1 diff)
-
buildscripts/webbuild/index.html (modified) (5 diffs)
-
buildscripts/webbuild/webbuild.js (modified) (1 diff)
-
src/bootstrap1.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/buildscripts/makeDojoJsWeb.js
r7451 r7460 50 50 dojo.require("dojo.crypto.MD5"); 51 51 52 var buildSigDir = dojo.crypto.MD5.compute(dep endencyResult.depList.sort().join(","), dojo.crypto.outputTypes.Hex);52 var buildSigDir = dojo.crypto.MD5.compute(depList.sort().join(","), dojo.crypto.outputTypes.Hex); 53 53 try{ 54 54 var contents = buildUtil.makeDojoJs(dependencyResult, version).dojoContents; … … 89 89 result = "dirFile: " + dirFile.getAbsolutePath() + ", dirsOK: " + dirsOk; 90 90 91 //Create build contents file 92 var buildContents = dependencyResult.provideList.sort().join("\n"); 93 91 94 //Save files to disk 92 95 buildUtil.saveUtf8File(buildCachePath + "dojo.js", contents); 93 96 buildUtil.saveUtf8File(buildCachePath + "compressed/dojo.js", compressedContents); 97 buildUtil.saveUtf8File(buildCachePath + "build.txt", buildContents); 94 98 95 99 result = "OK"; 96 100 }catch(e){ 97 result += "ERROR: " + e;101 result = "ERROR: " + e; 98 102 } 99 103 -
trunk/buildscripts/profiles/editor.profile.js
r3930 r7460 4 4 "dojo.event.*", 5 5 "dojo.lfx.*", 6 "dojo.widget.Editor",7 6 "dojo.widget.Editor2", 8 7 ]; -
trunk/buildscripts/webbuild/index.html
r7451 r7460 1 1 <html> 2 <head> 2 3 <style type="text/css"> 3 4 … … 125 126 outputNode.innerHTML = ""; 126 127 } 127 128 128 129 function getCachedBuildUrl(depList){ 129 130 var doCompression = document.masterForm.doCompression[1].checked ? true : false; 130 var sortedFileList = depList.sort().join(","); 131 //Create sorted file list. slice() is used to get a copy of the array. 132 var sortedFileList = depList.slice().sort().join(","); 131 133 var buildKey = dojo.crypto.MD5.compute(sortedFileList, dojo.crypto.outputTypes.Hex); 132 134 return "dojobuilds/" + buildKey + (doCompression ? "/compressed" : "") + "/dojo.js"; … … 259 261 260 262 //Set up XD Dojo URL if available. 261 xdDojoUrl = "@XD_DOJO_URL@";263 window.xdDojoUrl = "@XD_DOJO_URL@"; 262 264 if(xdDojoUrl != ("@" + "XD_DOJO_URL" + "@")){ 263 265 dojo.byId("xdDojoUrl").innerHTML = xdDojoUrl; … … 267 269 } 268 270 269 version = "@VERSION@";271 window.version = "@VERSION@"; 270 272 if(xdDojoUrl == ("@" + "VERSION" + "@")){ 271 273 version = ""; … … 419 421 } 420 422 </script> 421 423 </head> 422 424 <body> 423 425 <form name="masterForm" onsubmit="return false"> -
trunk/buildscripts/webbuild/webbuild.js
r7415 r7460 7 7 //Define some methods that are defined in Rhino, but we need web equivalents 8 8 //in order for the build scripts to work. 9 print = function(message){10 parent.output(message);11 }12 13 9 buildUtil.readFile = readText = readFile = function(uri){ 14 10 return dojo.hostenv.getText(uri); -
trunk/src/bootstrap1.js
r6986 r7460 1 /**2 * @file bootstrap1.js3 *4 * summary: First file that is loaded that 'bootstraps' the entire dojo library suite.5 * note: Must run before hostenv_*.js file.6 *7 * @author Copyright 2004 Mark D. Anderson (mda@discerning.com)8 * TODOC: should the copyright be changed to Dojo Foundation?9 * @license Licensed under the Academic Free License 2.1 http://www.opensource.org/licenses/afl-2.1.php10 *11 * $Id$12 */13 14 1 // TODOC: HOW TO DOC THE BELOW? 15 2 // @global: djConfig