1 //<script type="text/javascript">
4 * @version $Id: main.js 570 2008-04-07 23:54:50Z micmath $
9 * - in the top level directory.
10 * roolite -L/path/to/rooscript/examples/jstoolkit buildSDK/docs_build.js
20 include "lib/JSDOC.js";
21 //include "frame/Opt.js";
24 var cwd = File.getcwd();
26 if (!File.exists(cwd+'/Roo.js')) {
27 throw "needs to be run from the same directory as Roo.js";
30 // configure it!!! -- see buildDocs.js in the rooscript/jstookit/exammples directory..
34 _ : [ "Roo.js", "Array.js", "Date.js" , "Function.js" , "Number.js", "String.js", "Roo" ],
35 // these are commented out for test builds
36 //_ : [ "Roo.js", "Roo/Component.js", "Roo/util/Observable.js", "Roo/DatePicker.js", "Roo/data/Connection.js", "Roo/BasicLayoutRegion.js",
37 // "Roo/form/Action.js" , "Roo/grid/GridEditor.js", "Roo/Editor.js" ],
38 //_ : [ "Roo/form/BasicForm.js" ],
40 t : cwd + "/buildSDK/doc_templates/", // fixme - I think we should move doc templates to here...
45 //C: true, // true = disable caching.
46 C: false, // true = disable caching.
63 throw "oops - something has gone wrong";
66 warn : function(str) {
67 println("Warn: " +str );
69 inform : function(str) {
70 println("Inform: " +str );
72 close : function() { },
73 flush : function() { },