Listing 20.17 shows the entire build file for the model project. In this section, we provide a step-by-step analysis of how this build file executes. All the build files in the Hello World example are structured in a similar fashion, so understanding the model project build file is essential to understanding the others. A quick note on naming conventions: As you see from the first line of code in Listing 20.17, the project name for this build file is model. Therefore, we refer to this build file as the model project build file. This naming convention becomes essential once we begin dealing with the five other build files in this project.
<project name="model" default="all" ><target name="init" description="initialize the properties."> <property name="local_outdir" value="${outdir}/model" /> <property name="build" value="${local_outdir}/classes" /> <property name="lib" value="${outdir}/lib" />
<property name="model_jar" value="${lib}/greetmodel.jar" />