source: Dev/branches/rest-dojo-ui/client/util/build/buildControlBase.js @ 256

Last change on this file since 256 was 256, checked in by hendrikvanantwerpen, 13 years ago

Reworked project structure based on REST interaction and Dojo library. As
soon as this is stable, the old jQueryUI branch can be removed (it's
kept for reference).

File size: 714 bytes
Line 
1define([
2        "dojo",
3        "./messages",
4        "dojo/text!./copyright.txt",
5        "dojo/text!./buildNotice.txt"
6], function(dojo, messages, defaultCopyright, defaultBuildNotice) {
7        var bc= {
8                exitCode:0,
9
10                // useful for dojo pragma including/excluding
11                built:true,
12
13                startTimestamp:new Date(),
14
15                paths:{},
16                destPathTransforms:[],
17                packageMap:{},
18
19                // resource sets
20                resources:{},
21                resourcesByDest:{},
22                amdResources:{},
23
24                closureCompilerPath:"../closureCompiler/compiler.jar",
25                maxOptimizationProcesses:5,
26                buildReportDir:".",
27                buildReportFilename:"build-report.txt",
28
29                defaultCopyright:defaultCopyright,
30                defaultBuildNotice:defaultBuildNotice
31        };
32        for(var p in messages){
33                bc[p] = messages[p];
34        };
35        return bc;
36});
Note: See TracBrowser for help on using the repository browser.