DSL Element build
The build element essentially performs the Netbeans clean and build function from a sim basic simulation in the OMS Console. The element contains two properties as noted below.
//Thornthwaite water balance model.
//Simulation file.
sim(name:"TW") {
// clean and build
build(targets:"all", file:"build.xml")
// define model for simulation
model(iter:"climate.moreData") {
...
}
...
}
Element build
Specification
Name |
build - Clean and build the model |
Property | Description | Type | Required |
target | A specified target in the build file, default is "all" | String | No |
file | The build file; default is build.xml | String | No |