Professional Java Tools for Extreme Programming: Ant, XDoclet, JUnit, Cactus, and Maven (Programmer to Programmer)

This section covers tasks that manipulate the content of text files.

Replace Task

The replace task finds and replaces a string or strings of text within a text file:

<replace file="[file]" token="[replacement value]"/>

Parameters

Nested Parameters

Mail Task

The mail task sends Simple Mail Transfer Protocol (SMTP) email:

<mail from="foo" tolist="bla" subject="Your code doesn't compile bla" files="error.log"/>

Parameters

Категории