File / Directory / Archive tasks
Documentation, Logging and Testing Tasks
Compile Tasks
Compile Tasks
Javac
Compiles the specified source file(s) within the running
(Ant) VM, or in another VM if the fork attribute is specified.
Depend
Determines which classfiles are out-of-date with respect to their source, removing the classfiles of any other classes that depend on the out-of-date classes, forcing the re-compile of the removed classfiles.
Typically used in conjunction with the Javac task.
JspC
Runs the JSP compiler. It can be used to precompile
JSP pages for fast initial invocation of JSP pages, deployment on a server without the full JDK installed, or simply to syntax-check the pages without deploying them. The Javac task can be used to compile the generated Java source. (For Weblogic JSP compiles, see the Wljspc task.)
Documentation Tasks
19
File / Directory / Archive tasks
Documentation, Logging and Testing Tasks
Documentation, Logging and Testing Tasks
Documentation Tasks
Javadoc
Generates code documentation using the javadoc tool.
Logging Tasks
Record
Runs a listener that records the logging output of the build-process events to a file. Several recorders can exist at the same time. Each recorder is associated with a file.
Testing Tasks
Junit
Runs tests from the Junit testing framework. This task has been tested with JUnit 3.0 up to JUnit 3.7 ; it won’t work with versions prior to JUnit 3.0.
JunitReport
Merges the individual XML files generated by the Junit task and applies a stylesheet on the resulting merged document to provide a browsable report of the
testcases results.
20

Публичная ссылка обновлена
Публичная ссылка на ваш чат обновлена.