telnetd HomeSF Project Home
 

Building telnetd

About

This document describes how to build telnetd from the source package.

Invoking the build

telnetd's build is based on ant and requires =v1.6 to be properly installed on your system and available from the command line.

Warning

The only supported way for building this library is via the delivered build scripts for ant. (Most IDE's nowadays provide ant integration or at least support anyway.)

Note

Documentation builds are based on Apache forrest. To invoke these you will need release version 0.6 installed on your system.
Standard JDK Builds
The build script that needs to be invoked by ant is build.xml. This is the default so if you do not pass the file parameter, this file will be used.

To see the build targets and the default target, you should invoke ant with the option -projecthelp

Build Properties

Build properties will be read from your home directory (.build.properties) or from the actual directory (build.properties).
These allow you to toggle flags for the building procedure (standard build.properties file):

# Compiler to be used
build.compiler=modern     

# Deprecation warnings
compile.deprecation=on

## Optimization and Debug
# Development Set
compile.optimize=off
compile.debug=on

# Production/Release set
#compile.optimize=on
#compile.debug=off

javadocs.additionalparam=-breakiterator
      

Note

All build products including the docs and the distributions will be written to the build directory.

by Dieter Wimberger