Java Build System
WARNING: Please update your bookmarks! The content of this site has been moved to http://dille.name where it will be updated as needed. This page will remain unchanged.
This Java build system is based on ant. It comes with a build.xml that contains project configuration variables. This file includes include.xml that defines the available targets.
- 20040326 - 20040522: No need for empty args property for targets test and run anymore, support for Java 1.5
- 00000000 - 20040326: Initial release
- Unpack the archive
- Customize
build.xml - Execute
ant init - Place your sources in
src/ - Uou are ready to go
- src/
- Source files
- bin/
- Object files with debugging symbols
- lib/
- Object files without debugging symbols
- dist/
- Files for distribution
- doc/
- Project documentation
- api/
- API documentation
- init
- Initializes the directory structure
- build
- Compiles the sources in
src/with debugging symbols and places the objects inbin/ - rebuild
- Removes
bin/and calls thebuildtarget - api
- Generates the API documentation
- test
- Executes the objects from
bin/. You may specify theargsproperty which contains command line arguments:ant testant -Dargs="blarg" testant -Dproject.main="package.class" -Dargs="blarg" test - dist
- Calls targets:
dist-build,dist-src,dist-doc,dist-bin,jar,checksum - dist-build
- Compiles the sources in
src/without debugging symbols and places the objects inlib/ - dist-src
- Creates an archives for the distribution of the sources
- dist-doc
- Creates an archive for the distribution of the documentation
- dist-bin
- Creates an archive for the distribution of the objects and documentation
- jar
- Creates a jar file from the objects in
dist/ - checksum
- Creates MD5 checksums for all files in
dist/ - run
- Executes the JAR file. The same applies as for the
testtarget - clean
- Removes
bin/andlib/ - distclean
- Removes
dist/ - proper
- Calls the
cleantarget and removesdoc/api/



