Target | Description |
init |
Creates the directories which are used by the other build targets. A direct compliment to the clean target, the directories created in this target will be removed through the clean target.
|
clean |
Deletes files generated by previous build commands. Files under version control are not touched, provided the files under version control adhere to Goal #3 indicated above.
|
compile
| Compiles Java source code and creates .class files under the "build" directory. In addition, because the compiled files may need data files, it also copies the necessary non-source files into the "build" directory. |
recompile
| Deletes files generated by previous build commands and recompiles the Java source code. Specifically, it compiles the code in a clean state to detect possible compile errors that may result from the changing of class interfaces. |
createjar = default |
Creates a .jar archive of compiled classes and adds all necessary manifest information to the created .jar archive, including the main-class attribute, which makes the .jar archive executable. |
createtar = default |
Creates a .tar.gz archive of all source code and web documents stored in the current folder. This is the target that is used to generate the gzipped source during each release. |
rejar |
Deletes files generated by previous build commands and creates a .jar archive of compiled classes and adds all necessary manifest information to the created .jar archive, including the main-class attribute, which makes the .jar archive executable. |
javadoc |
Generates the technical documentation (javadocs) for the system. Note that the user must be online for this target to succeed, as it links to the Java API to create the appropriate hyperlinks to the Sun documentation. |
dist |
Packages the system for distribution/deployment to servers or end users. Specifically, it creates .jar archive of classes recompiled from a clean state and generates the technical documentation (javadocs) |
cvscheck
| Gets a fresh checkout of the files currently in the CVS repository and assures that all of the files successfully compile. This target is to make sure that new files that were intended to be added have been added to the repository and should be used before any release is tagged. |
exec |
Creates a .jar archive of compiled classes and executes the main class of the .jar archive. The .jar archive is dependent on the most recent compilation; the data will not be recompiled from a clean state. |