Java Reference
In-Depth Information
debug
Indicates whether the source should be compiled with debug information;
defaults to off . If set to off , -g:none will be passed on the command
line to compilers that support it (for other compilers, no command-line
argument will be used). If set to true, the value of the debuglevel
attribute determines the command-line argument.
debuglevel
Keyword list to be appended to the -g command-line switch. This will be
ignored by all implementations except modern and classic (version 1.2 and
more recent). Legal values are none or a comma-separated list of the fol-
lowing keywords: lines , vars , and source . If debuglevel is not
specified (by default) nothing will be appended to -g . If debug is not
turned on, this attribute will be ignored.
optimize
Indicates whether compilation should include optimization; defaults
to off .
deprecation
Indicates whether source should be compiled with deprecation informa-
tion; defaults to off .
verbose
Asks the compiler for verbose output; defaults to no .
depend
Enables dependency tracking for compilers that support this (Jikes and
classic).
The jar task.
The jar task makes a JAR file.
The javadoc task. One of the greatest benefits of developing in Java is the
nearly automatic generation of thorough and correct documentation. Javadoc
is the tool that does the job, and the javadoc task is the way to automate
document production in ant . This tag has a number of attributes that specify
where the source to be documented is located, how the documentation is to be
produced, and where the documentation is to be placed.
The copy and mkdir tasks.
These tasks are used to copy files and make
directories.
Search WWH ::




Custom Search