Rev | Line | |
---|
[483] | 1 | The util/buildscripts directory allows you do to custom builds of the dojo source. |
---|
| 2 | |
---|
| 3 | REQUIREMENTS |
---|
| 4 | ======================= |
---|
| 5 | The build system requires that Java 1.4.2 or later is installed. |
---|
| 6 | |
---|
| 7 | DIRECTORY STRUCTURE |
---|
| 8 | ======================= |
---|
| 9 | Recommended directory structure and names (if using dijit and dojox in addition to |
---|
| 10 | dojo core): |
---|
| 11 | |
---|
| 12 | - dijit |
---|
| 13 | - dojo |
---|
| 14 | - dojox |
---|
| 15 | - util |
---|
| 16 | - buildscripts |
---|
| 17 | |
---|
| 18 | Builds will be generated in a "release" directory that is a sibling to util |
---|
| 19 | (the output directory will also be printed at the end of the build). |
---|
| 20 | |
---|
| 21 | DOING A BUILD |
---|
| 22 | ======================= |
---|
| 23 | In the util/buildscripts directory, to run the the build, type the following: |
---|
| 24 | |
---|
| 25 | Windows-based operating systems: |
---|
| 26 | > build.bat |
---|
| 27 | |
---|
| 28 | All other operating systems: |
---|
| 29 | > build.sh |
---|
| 30 | (may need to chmod +x build.sh to get it to execute as a script) |
---|
| 31 | |
---|
| 32 | Typing the above command will give you some help text with the allowed build |
---|
| 33 | options. |
---|
| 34 | |
---|
| 35 | TYPICAL BUILDS |
---|
| 36 | ======================= |
---|
| 37 | This command will use the build profile at util/buildscripts/profiles/standard.profile.js |
---|
| 38 | to do a build: |
---|
| 39 | |
---|
| 40 | > build.sh profile=standard action=release |
---|
| 41 | |
---|
| 42 | To do an xdomain build, add the loader argument: |
---|
| 43 | |
---|
| 44 | > build.sh profile=standard loader=xdomain action=release |
---|
Note: See
TracBrowser
for help on using the repository browser.