| 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 |
- themes |
| 16 |
- util |
| 17 |
- buildscripts |
| 18 |
|
| 19 |
Builds will be generated in a "release" directory that is a sibling to util |
| 20 |
(the output directory will also be printed at the end of the build). |
| 21 |
|
| 22 |
DOING A BUILD |
| 23 |
======================= |
| 24 |
In the util/buildscripts directory, to run the the build, type the following: |
| 25 |
|
| 26 |
Windows-based operating systems: |
| 27 |
> build.bat |
| 28 |
|
| 29 |
All other operating systems: |
| 30 |
> build.sh |
| 31 |
(may need to chmod +x build.sh to get it to execute as a script) |
| 32 |
|
| 33 |
Typing the above command will give you some help text with the allowed build |
| 34 |
options. |
| 35 |
|
| 36 |
TYPICAL BUILDS |
| 37 |
======================= |
| 38 |
This command will use the build profile at util/buildscripts/profiles/standard.profile.js |
| 39 |
to do a build: |
| 40 |
|
| 41 |
> build.sh profile=standard action=release |
| 42 |
|
| 43 |
To do an xdomain build, add the loader argument: |
| 44 |
|
| 45 |
> build.sh profile=standard loader=xdomain action=release |