Changeset 7174
- Timestamp:
- 02/02/07 22:01:35 (19 months ago)
- Location:
- branches/0.4/buildscripts
- Files:
-
- 2 added
- 2 modified
-
webbuild.html (modified) (2 diffs)
-
webbuild/index.html (added)
-
webbuild/makeWebBuildModuleList.js (added)
-
webbuild/webbuild.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/0.4/buildscripts/webbuild.html
r7075 r7174 9 9 <script type="text/javascript"> 10 10 djConfig = { 11 isDebug: true 11 isDebug: true, 12 baseRelativePath: "../" 12 13 }; 13 14 </script> … … 16 17 <script src="buildUtilXd.js" type="text/javascript"></script> 17 18 <script src="webbuild/webbuild.js" type="text/javascript"></script> 19 <script type="text/javascript"> 20 function startBuild(depString, version, xdDojoPath){ 21 //Need a timeout here because otherwise the calling location is from the frame 22 //that calls this page, which messes up our path building for loading files. 23 //(at least in Firefox 2.0) 24 setTimeout(function(){webbuild.build(depString, version, xdDojoPath);}, 100); 25 } 26 </script> 18 27 </head> 19 28 20 29 <body> 21 <h2>Dojo Builder Prototype</h2> 22 <p> 23 (experimental, prototype) 24 </p> 25 <p> 26 <b>XDomain Dojo path (example: http://some.domain.com/dojo-xdversion/src):</b><br /> 27 <input type="text" id="xdDojoPath" value="" size="30" /> 28 </p> 29 <p> 30 <b>Modules to include in build (comma-separated list):</b><br /> 31 <textarea id="dependencyList" cols="40" rows="20"> 32 "dojo.io.*", 33 "dojo.io.BrowserIO", 34 "dojo.event.*", 35 "dojo.lfx.*" 36 </textarea> 37 </p> 38 <p> 39 <button onclick="webbuild.build(dojo.byId('dependencyList').value, '0.4.2dev', dojo.byId('xdDojoPath').value)">Go</button> 40 </p> 30 Hidden builder content for webbuild/index.html. See that file for the entry 31 point into the web build system. This file needs to live in the buildscripts 32 directory because of some assumptions in buildUtil.js. 41 33 </body> 42 34 </html> -
branches/0.4/buildscripts/webbuild/webbuild.js
r7074 r7174 2 2 //in order for the build scripts to work. 3 3 print = function(message){ 4 dojo.debug(message);4 parent.output(message); 5 5 } 6 6 … … 47 47 dojo.debug("files in the profile:"); 48 48 for(var i = 0; i < dojoResult.resourceDependencies.length; i++){ 49 dojo.debug(dojoResult.resourceDependencies[i]);49 print(dojoResult.resourceDependencies[i]); 50 50 } 51 51 … … 59 59 } 60 60 61 parent.dojoContents = webbuild.dojoContents; 61 62 var outputWindow = window.open("webbuild/dojo.js.html", "dojoOutput"); 62 63 outputWindow.focus();