diff --git a/manual/Tasks/ant.html b/manual/Tasks/ant.html index 3b06b1b94..e6c22a7ad 100644 --- a/manual/Tasks/ant.html +++ b/manual/Tasks/ant.html @@ -124,7 +124,7 @@ outside of targets in the new project—but not those defined inside of targ

Parameters specified as nested elements

property

-

See the description of the property task.
These properties +

See the description of the property task.
These properties become equivalent to properties you define on the command line. These are special properties and they will always get passed down, even through additional <*ant*> tasks with inheritAll set to false (see above).
Note that the refid diff --git a/manual/Tasks/antcall.html b/manual/Tasks/antcall.html index b6bcd92ad..81b76f10c 100644 --- a/manual/Tasks/antcall.html +++ b/manual/Tasks/antcall.html @@ -100,7 +100,7 @@ the id attribute).

Parameters specified as nested elements

param

Specifies the properties to set before running the specified -target. See property for usage guidelines.
These properties become +target. See property for usage guidelines.
These properties become equivalent to properties you define on the command line. These are special properties and they will always get passed down, even through additional <*ant*> tasks with inheritAll set to false (see above).

diff --git a/manual/Tasks/antlr.html b/manual/Tasks/antlr.html index 0ec561f8f..d162bbbb5 100644 --- a/manual/Tasks/antlr.html +++ b/manual/Tasks/antlr.html @@ -72,13 +72,14 @@ the antlr-all.jar target of the Makefile provided with the download html - Emit an HTML version of the grammar with hyperlinked actions. - No + Emit an HTML version of the grammar with hyperlinked actions if set to yes. + No; default is no diagnostic - Generate a text file with debugging information based on the target grammar. - No + Generate a text file with debugging information based on the target grammar if set + to yes. + No; default is no trace diff --git a/manual/Tasks/apply.html b/manual/Tasks/apply.html index c9f59a957..93918cefe 100644 --- a/manual/Tasks/apply.html +++ b/manual/Tasks/apply.html @@ -72,7 +72,7 @@ standard input.

spawn - whether or not you want the commands to be spawned.
If you spawn a command, its output + whether or not you want the commands to be spawned.
If you spawn a command, its output will not be logged by Ant.
The input, output, error, and result property settings are not active when spawning a process.
since Ant 1.6 No; default is false @@ -175,8 +175,8 @@ standard input.

failonerror - Stop the build process if the command exits with a return code other than 0. - No + Stop the build process if the command exits with a return code other than 0. + No; defaults to false failifexecutionfails @@ -200,7 +200,7 @@ standard input.

type One of file, dir or both. If set to file, only the names of plain files will be sent to the command. If set to dir, only the names of directories - are considered.
+ are considered.
Note: The type attribute does not apply to nested dirsets—dirsets always implicitly assume type to be dir. diff --git a/manual/Tasks/changelog.html b/manual/Tasks/changelog.html index c2aee229c..a6852261c 100644 --- a/manual/Tasks/changelog.html +++ b/manual/Tasks/changelog.html @@ -74,8 +74,7 @@ operation may fail when using such an incompatible client.

failonerror - Stop the build process if the command exits with a return code other - than 0 + Stop the build process if the command exits with a return code other than 0 No; defaults to false diff --git a/manual/Tasks/checksum.html b/manual/Tasks/checksum.html index 6deda020d..dc4b0b5d8 100644 --- a/manual/Tasks/checksum.html +++ b/manual/Tasks/checksum.html @@ -92,7 +92,7 @@ Architecture Standard Algorithm Name Documentation

the verifyproperty attribute, property specifies the name of the property to be set with the generated checksum value.
If you set the verifyproperty attribute, property specifies the checksum you expect to be - generated (the checksum itself, not a name of a property containing the checksum).
This + generated (the checksum itself, not a name of a property containing the checksum).
This cannot be specified when fileext is being used or when the number of files for which checksums are to be generated is greater than 1. diff --git a/manual/Tasks/clearcase.html b/manual/Tasks/clearcase.html index ad303fa58..64f522302 100644 --- a/manual/Tasks/clearcase.html +++ b/manual/Tasks/clearcase.html @@ -24,10 +24,10 @@

Apache Ant ClearCase Tasks

-

by:
-Curtis White (cwhite at aracnet dot com),
-Sean P. Kane (spkane at genomatica dot com),
-Rob Anderson (Anderson.Rob at vectorscm dot com), and
+

by:
+Curtis White (cwhite at aracnet dot com),
+Sean P. Kane (spkane at genomatica dot com),
+Rob Anderson (Anderson.Rob at vectorscm dot com), and
Sean Egan (sean at cm-logic dot com)

Version 1.6—02/25/2003

@@ -189,12 +189,11 @@ original.

notco Fail if it's already checked out to the current view. Set to false to ignore it.
Since Ant 1.6.1 - No + No; default is true failonerr - Throw an exception if the command fails.
- Since Ant 1.6.1 + Throw an exception if the command fails.
Since Ant 1.6.1 No; default is true @@ -375,8 +374,7 @@ set to the current time.

failonerr - Throw an exception if the command fails.
- Since Ant 1.6.1 + Throw an exception if the command fails.
Since Ant 1.6.1 No; default is true @@ -845,8 +843,8 @@ automatically check it out.

CCMkelem

Description

-Task to perform a cleartool mkelem command to ClearCase.
-Since Ant 1.6.1 +

Task to perform a cleartool mkelem command to ClearCase.
Since Ant +1.6.1

Parameters

diff --git a/manual/Tasks/cvs.html b/manual/Tasks/cvs.html index b8755d1c2..9d63ae304 100644 --- a/manual/Tasks/cvs.html +++ b/manual/Tasks/cvs.html @@ -107,8 +107,8 @@ for recommended workarounds.

- + @@ -143,8 +143,7 @@ for recommended workarounds.

- +
reallyquietsuppress all messages. This is the same as - -Q on the command line. since Ant 1.6.suppress all messages. This is the same as -Q on the command line. since + Ant 1.6. No; defaults to false
failonerrorStop the build process if the command exits with a return code other - than 0.Stop the build process if the command exits with a return code other than 0. No; defaults to false
diff --git a/manual/Tasks/cvstagdiff.html b/manual/Tasks/cvstagdiff.html index 49df473ae..3605c493a 100644 --- a/manual/Tasks/cvstagdiff.html +++ b/manual/Tasks/cvstagdiff.html @@ -121,7 +121,7 @@ example—and some operation may fail when using such an incompatible client failonerror - Stop the build process if the command exits with a return code other than 0. + Stop the build process if the command exits with a return code other than 0. No; defaults to false @@ -196,7 +196,7 @@ output. The following example illustrates how to generate a HTML report from the

Output

The cvsroot and package attributes of the tagdiff element are -new in Ant 1.6.
Notes on entry attributes:

+new in Ant 1.6.
Notes on entry attributes:

diff --git a/manual/Tasks/ejb.html b/manual/Tasks/ejb.html index b90de3cfa..74b9b6761 100644 --- a/manual/Tasks/ejb.html +++ b/manual/Tasks/ejb.html @@ -774,7 +774,7 @@ vendor's EJB container. The parameters for each supported deployment element are them to the final EJB jar file. JBoss has two deployment descriptors:

Attribute
@@ -1193,7 +1193,7 @@ the websphere.home property (look at the examples below).

- + diff --git a/manual/Tasks/fail.html b/manual/Tasks/fail.html index 1bc47cfb2..d1e22bcfa 100644 --- a/manual/Tasks/fail.html +++ b/manual/Tasks/fail.html @@ -68,7 +68,7 @@ the element.

As an alternative to the if/unless attributes, conditional failure can be achieved using a single nested <condition> element, which should contain exactly one core or custom condition. For information about conditions, -see here.
Since Ant 1.6.2 +see here.
Since Ant 1.6.2

Examples

diff --git a/manual/Tasks/ftp.html b/manual/Tasks/ftp.html index 0000478f7..48c74eb24 100644 --- a/manual/Tasks/ftp.html +++ b/manual/Tasks/ftp.html @@ -325,7 +325,7 @@ connection.

Icelandic FTP server might conceivably be specified as jan|feb|mar|apr|maí|jún|júl|ágú|sep|okt|nóv|des. This attribute exists primarily to support languages not supported by - the serverLanguageCode attribute.
Since Ant 1.7 + the serverLanguageCode attribute.
Since Ant 1.7
CMP versionFile name
CMP 1.0jaws.xml
No; defaults to _ejbdeploy_temp
dbName
dbSchema
dbName
dbSchema
These options are passed to ejbdeploy. No
No
@@ -358,8 +358,7 @@ connection.

list - base directory from which files are listed
- + base directory from which files are listed the remote files located under the remotedir matching the include/exclude patterns of the fileset diff --git a/manual/Tasks/jar.html b/manual/Tasks/jar.html index fb633f2ba..5b32f3fe5 100644 --- a/manual/Tasks/jar.html +++ b/manual/Tasks/jar.html @@ -523,7 +523,7 @@ JDK 6 scripting interface:

Here we want to create a Multi-Release JAR File according the specification JEP 238. It defines on top of a JAR the possibility to place additional or overwriting classes in a jar, which are -available according to the Java version you run.
Basically it says, that you have to set the +available according to the Java version you run.
Basically it says, that you have to set the manifest entry Multi-Release: true and place all additional or overwriting classes in META-INF/versions/number/package-structure, e.g. META-INF/versions/9/org/apache/ant/MyClass.class

diff --git a/manual/Tasks/java.html b/manual/Tasks/java.html index 0c933fce9..3883b6d16 100644 --- a/manual/Tasks/java.html +++ b/manual/Tasks/java.html @@ -129,7 +129,7 @@ because it tries to read from the standard input.

failonerror - Stop the build process if the command exits with a return code other than 0. + Stop the build process if the command exits with a return code other than 0. No; default is false (see note) diff --git a/manual/Tasks/javac.html b/manual/Tasks/javac.html index e860b5c70..d6840a0d4 100644 --- a/manual/Tasks/javac.html +++ b/manual/Tasks/javac.html @@ -294,7 +294,7 @@ file will not get compiled even if a native header file generated for it would b command-line switch. Valid feature versions are 1.3, 1.4, 1.5 or 5, etc. The attribute will be ignored by all implementations prior to javac1.4 (or modern when Ant is not running in a JVM 1.3), gcj - and jikes.
If you use this attribute together with gcj or jikes, you + and jikes.
If you use this attribute together with gcj or jikes, you must make sure that your version supports the -source (or -fsource for gcj) switch. No; by default, no -source argument will be used at all unless the magic @@ -694,8 +694,8 @@ are false.

build.compiler.fulldepend - Enable full dependency checking; see
the +F switch in the Jikes - manual. + Enable full dependency checking; see
the +F switch in the Jikes + manual. false diff --git a/manual/Tasks/javadoc.html b/manual/Tasks/javadoc.html index 72a414536..520122890 100644 --- a/manual/Tasks/javadoc.html +++ b/manual/Tasks/javadoc.html @@ -398,7 +398,7 @@ with the exclude patterns of the packageset (and vice ve failonerror - Stop the build process if the command exits with a return code other than 0. + Stop the build process if the command exits with a return code other than 0. all No @@ -490,7 +490,7 @@ with the exclude patterns of the packageset (and vice ve postProcessGeneratedJavadocs Whether to post-process the generated javadocs in order to mitigate - CVE-2013-1571. Since Ant 1.9.2
There is a frame injection attack possible in + CVE-2013-1571. Since Ant 1.9.2
There is a frame injection attack possible in javadocs generated by Oracle JDKs prior to Java 7 update 25 (details). When this flag is set to true, Ant will check whether diff --git a/manual/Tasks/mail.html b/manual/Tasks/mail.html index 73bb13c4e..6c2c8318e 100644 --- a/manual/Tasks/mail.html +++ b/manual/Tasks/mail.html @@ -148,7 +148,7 @@ more information.

charset Character set of the email.
You can also set the charset in - the message nested element.
These options are mutually exclusive. + the message nested element.
These options are mutually exclusive. No @@ -230,7 +230,7 @@ can contain email addresses of the form:

charset Character set of the message
You can also set the charset as attribute of the - enclosing mail task.
These options are mutually exclusive. + enclosing mail task.
These options are mutually exclusive. No diff --git a/manual/Tasks/netrexxc.html b/manual/Tasks/netrexxc.html index 59c427bca..f3c3a7e53 100644 --- a/manual/Tasks/netrexxc.html +++ b/manual/Tasks/netrexxc.html @@ -50,7 +50,7 @@ nested <include>, <exclude> and <patternset> elements.

All attributes except classpath, srcdir and destDir are also available as properties in the form ant.netrexxc.attributename, -eg.
<property name="ant.netrexxc.verbose" value="noverbose"/>
or from the +eg.
<property name="ant.netrexxc.verbose" value="noverbose"/>
or from the command line as
ant -Dant.netrexxc.verbose=noverbose ...

Note: This task depends on external libraries not included in the Apache Ant distribution. See Library Dependencies for more diff --git a/manual/Tasks/replaceregexp.html b/manual/Tasks/replaceregexp.html index 923373c7a..cd36c3226 100644 --- a/manual/Tasks/replaceregexp.html +++ b/manual/Tasks/replaceregexp.html @@ -61,14 +61,14 @@ the Regexp Type.

flags The flags to use when matching the regular expression. For more information, consult the - Perl 5 syntax
- g : Global replacement. Replace all occurrences found
- i : Case Insensitive. Do not consider case in the match
+ Perl 5 syntax
+ g : Global replacement. Replace all occurrences found
+ i : Case Insensitive. Do not consider case in the match
m : Multiline. Treat the string as multiple lines of input, using ^ and $ as the start or end of any line, respectively, rather than start or end of - string.
+ string.
s : Singleline. Treat the string as a single line of input, using . to match - any character, including a newline, which normally, it would not match.
+ any character, including a newline, which normally, it would not match. No @@ -118,7 +118,7 @@ pattern. You can use this element to refer to a previously defined substitution instance.

-<substitution id="id" expression="beta\1alpha"/>
+<substitution id="id" expression="beta\1alpha"/>
<substitution refid="id"/>

Examples

@@ -151,7 +151,7 @@ input

<html> <body> <h1> T E S T </h1> </body></html> -
+
 <replaceregexp match="\\n" replace="${line.separator}" flags="g" byline="true">
diff --git a/manual/Tasks/rmic.html b/manual/Tasks/rmic.html
index 9ba41b55a..5af1a7ee3 100644
--- a/manual/Tasks/rmic.html
+++ b/manual/Tasks/rmic.html
@@ -107,7 +107,7 @@ documentation to learn how to use it.

stubversion Specify the JDK version for the generated stub code. Specify 1.1 to pass the -v1.1 option to rmic, 1.2 - for -v12, compat for -vcompat.
/Since Ant 1.7, if + for -v12, compat for -vcompat.
Since Ant 1.7, if you do not specify a version, and do not ask for .iiop or .idl files, compat is selected. No; default is compat diff --git a/manual/Tasks/rpm.html b/manual/Tasks/rpm.html index 158f12101..f6e35e87c 100644 --- a/manual/Tasks/rpm.html +++ b/manual/Tasks/rpm.html @@ -48,7 +48,7 @@ with rpm support.

This is the directory which will have the expected subdirectories, SPECS, SOURCES, BUILD, SRPMS. If this isn't specified, the default RPM directory of the system (or user, - if ~/.rpmmacros defines it) is used (often /usr/src/rpm.
+ if ~/.rpmmacros defines it) is used (often /usr/src/rpm.
Defining a topdir will set %_topdir to the specified directory—there is no need to edit your .rpmmacros file. No, but your build file is very brittle if it is not set. diff --git a/manual/Tasks/schemavalidate.html b/manual/Tasks/schemavalidate.html index 418851918..6130a08cd 100644 --- a/manual/Tasks/schemavalidate.html +++ b/manual/Tasks/schemavalidate.html @@ -71,7 +71,7 @@ their URL equivalents.

classpathref where to find the parser class. Optionally can use an - embedded <classpath> element. + embedded <classpath> element. No @@ -82,8 +82,8 @@ their URL equivalents.

failonerror - fails on a error if set to true (defaults to true). - No + fails on a error if set to true. + No; defaults to true file @@ -167,9 +167,9 @@ their URL equivalents.

The <xmlcatalog> element is used to perform entity resolution.

attribute

-

The <attribute> element is used to set parser features.
Features usable +

The <attribute> element is used to set parser features.
Features usable with the xerces parser are defined -here: Setting features
SAX features +here: Setting features
SAX features are defined here: http://xml.org/sax/features/

diff --git a/manual/Tasks/script.html b/manual/Tasks/script.html index 1566cafb8..3c48c55e7 100644 --- a/manual/Tasks/script.html +++ b/manual/Tasks/script.html @@ -41,7 +41,7 @@ either their name or id attributes (as long as their names valid Java identifiers, that is). This is controlled by the setbeans attribute of the task. The name project is a pre-defined reference to the Project, which can be used instead of the project name. The name self is a pre-defined reference to the -actual <script>-Task instance.
From these objects you have access to the Ant +actual <script>-Task instance.
From these objects you have access to the Ant Java API, see the JavaDoc (especially for Project and Script) for more @@ -272,11 +272,11 @@ be imported with importClass(Packages.org.apache.tools.ant.util.FileUtils)
The <script> task populates the Project instance under the name project, so we can use that reference. Another way is to use its given name or -getting its reference from the task itself.
The Project provides methods for accessing and -setting properties, creating DataTypes and Tasks and much more.
After creating a FileSet object +getting its reference from the task itself.
The Project provides methods for accessing and +setting properties, creating DataTypes and Tasks and much more.
After creating a FileSet object we initialize that by calling its set-methods. Then we can use that object like a normal Ant task -(<copy> for example).
For getting the size of a file we instantiate -a java.io.File. So we are using normal Java API here.
Finally we use +(<copy> for example).
For getting the size of a file we instantiate +a java.io.File. So we are using normal Java API here.
Finally we use the <echo> task for producing the output. The task is not executed by its execute() method, because the perform() method (implemented in Task itself) does the appropriate logging before and after invoking execute().

diff --git a/manual/Tasks/sound.html b/manual/Tasks/sound.html index 47ecdd865..19d1c39dd 100644 --- a/manual/Tasks/sound.html +++ b/manual/Tasks/sound.html @@ -62,7 +62,7 @@ and <fail> elements:

- + diff --git a/manual/Tasks/sshsession.html b/manual/Tasks/sshsession.html index 0dca88e1c..bf09951db 100644 --- a/manual/Tasks/sshsession.html +++ b/manual/Tasks/sshsession.html @@ -73,7 +73,7 @@ JSCh earlier than 0.1.28.

diff --git a/manual/Tasks/style.html b/manual/Tasks/style.html index 28d7d17e7..589ae16d0 100644 --- a/manual/Tasks/style.html +++ b/manual/Tasks/style.html @@ -219,8 +219,8 @@ path-like structure).

+ still be suppressed by setting failOnTransformationError to false even if + this attribute is true. Since Ant 1.8.0. diff --git a/manual/Tasks/subant.html b/manual/Tasks/subant.html index e7b001e03..e9b5ca258 100644 --- a/manual/Tasks/subant.html +++ b/manual/Tasks/subant.html @@ -77,8 +77,8 @@ directories. 2 different options are offered:

- diff --git a/manual/Tasks/symlink.html b/manual/Tasks/symlink.html index e8a93eeed..ad1714fbd 100644 --- a/manual/Tasks/symlink.html +++ b/manual/Tasks/symlink.html @@ -74,7 +74,7 @@ set of property files to create links from.

+ occurs if false.
loops the number of extra times to play the sound file.No; default is 0No; default is 0
duration
remotetunnels A comma-delimited list of colon-delimited rport:lhost:lport triplets defining - remote port forwarding.
If nested remotetunnel elements are + remote port forwarding.
If nested remotetunnel elements are also provided, both sets of tunnels will be established.
No
failOnError Whether the build should fail if any error occurs. Note that transformation errors can - still be suppressed by setting failOnTransformationError to false even if this - attribute is true. Since Ant 1.8.0. No; default is true
genericantfileBuild file path, to use in conjunction with directories.
Use genericantfile, - in order to run the same build file with different basedirs.
If this attribute +
Build file path, to use in conjunction with directories.
Use genericantfile, + in order to run the same build file with different basedirs.
If this attribute is set, antfile is ignored.
File
failonerror Stop build if true, log a warning message, but do not stop the build, when the an error - occurs if false. No; defaults to true
diff --git a/manual/Tasks/unzip.html b/manual/Tasks/unzip.html index 2d2ee5bcb..ce2982a7a 100644 --- a/manual/Tasks/unzip.html +++ b/manual/Tasks/unzip.html @@ -81,7 +81,7 @@ extract an Ant generated ZIP archive.

compression - Note: This attribute is only available for the untar task.
+ Note: This attribute is only available for the untar task.
compression method. Allowable values are none, gzip, xz and bzip2. No; default is none @@ -112,7 +112,7 @@ extract an Ant generated ZIP archive.

scanForUnicodeExtraFields - Note: This attribute is not available for the untar task.
+ Note: This attribute is not available for the untar task.
If the archive contains Unicode extra fields then use them to set the file names, ignoring the specified encoding.
See also the discussion in the zip task page diff --git a/manual/Tasks/xmlproperty.html b/manual/Tasks/xmlproperty.html index 63ad94bde..7bc3f0bd8 100644 --- a/manual/Tasks/xmlproperty.html +++ b/manual/Tasks/xmlproperty.html @@ -127,7 +127,7 @@ the input XML file is loaded:/p> delimiter - Delimiter for splitting multiple values.
since Apache Ant 1.7.1 + Delimiter for splitting multiple values.
since Apache Ant 1.7.1 No; defaults to , (comma) diff --git a/manual/Types/filterchain.html b/manual/Types/filterchain.html index ab672b504..d69bd17a1 100644 --- a/manual/Types/filterchain.html +++ b/manual/Types/filterchain.html @@ -82,34 +82,34 @@ also.

</filterchain> </loadfile>
-

The following built-in tasks support nested <filterchain> elements.
-Concat,
-Copy,
-LoadFile,
-LoadProperties,
-LoadResource,
+

The following built-in tasks support nested <filterchain> elements.
+Concat,
+Copy,
+LoadFile,
+LoadProperties,
+LoadResource,
Move

-

A FilterChain is formed by defining zero or more of the following nested elements.
-FilterReader
-ClassConstants
-EscapeUnicode
-ExpandProperties
-HeadFilter
-LineContains
-LineContainsRegExp
-PrefixLines
-ReplaceTokens
-StripJavaComments
-StripLineBreaks
-StripLineComments
-SuffixLines
-TabsToSpaces
-TailFilter
-DeleteCharacters
-ConcatFilter
-SortFilter
-TokenFilter
+

A FilterChain is formed by defining zero or more of the following nested elements.
+FilterReader
+ClassConstants
+EscapeUnicode
+ExpandProperties
+HeadFilter
+LineContains
+LineContainsRegExp
+PrefixLines
+ReplaceTokens
+StripJavaComments
+StripLineBreaks
+StripLineComments
+SuffixLines
+TabsToSpaces
+TailFilter
+DeleteCharacters
+ConcatFilter
+SortFilter
+TokenFilter
FixCRLF

FilterReader

@@ -364,9 +364,8 @@ matching strings.

regexp - Regular expression to be searched for.
- Since Ant 1.10.2, this also works as an attribute - on linecontainsregexp. In earlier versions of Ant you must use a nested + Regular expression to be searched for.
Since Ant 1.10.2, this also works as an + attribute on linecontainsregexp. In earlier versions of Ant you must use a nested element when using the convenience method. Yes @@ -1093,25 +1092,25 @@ following are understood: \n, \r, \f, \t and \\

The following tokenizers are provided by the default distribution.

- LineTokenizer
- FileTokenizer
- StringTokenizer
+ LineTokenizer
+ FileTokenizer
+ StringTokenizer

The following string filters are provided by the default distribution.

- ReplaceString
- ContainsString
- ReplaceRegex
- ContainsRegex
- Trim
- IgnoreBlank
- DeleteCharacters
- UniqFilter
- Native2AsciiFilter
+ ReplaceString
+ ContainsString
+ ReplaceRegex
+ ContainsRegex
+ Trim
+ IgnoreBlank
+ DeleteCharacters
+ UniqFilter
+ Native2AsciiFilter

The following string filters are provided by the optional distribution.

- ScriptFilter
+ ScriptFilter

Custom tokenizers and string filters can be declared diff --git a/manual/Types/selectors-program.html b/manual/Types/selectors-program.html index 2e471ea94..6f415edc5 100644 --- a/manual/Types/selectors-program.html +++ b/manual/Types/selectors-program.html @@ -192,7 +192,7 @@ public class MySelectorTest {

During development and maybe later you sometimes need the output of information. Therefore Logging is needed. Because the selector extends BaseExtendSelector or directly BaseSelector it is an Ant DataType and therefore - a ProjectComponent.
That means that you have access to the project object + a ProjectComponent.
That means that you have access to the project object and its logging capability. ProjectComponent itself provides log() methods which will do the access to the project instance. Logging is therefore done simply with:

diff --git a/manual/develop.html b/manual/develop.html index b093bcaca..01f3d7f32 100644 --- a/manual/develop.html +++ b/manual/develop.html @@ -506,7 +506,7 @@ been configured.

Example

Writing an adapter to your favourite log library is very easy. Just implement the BuildListener interface, instantiate your logger and delegate -the message to that instance.
+the message to that instance.
When starting your build provide your adapter class and the log library to the build classpath and activate your logger via -listener option as described above. diff --git a/manual/dirtasks.html b/manual/dirtasks.html index aec8a86a3..d611c3715 100644 --- a/manual/dirtasks.html +++ b/manual/dirtasks.html @@ -143,7 +143,7 @@ were mypackage/test/**.

**/CVS/* Matches all files in CVS directories that can be located - anywhere in the directory tree.
+ anywhere in the directory tree.
Matches:
 CVS/Repository
@@ -157,7 +157,7 @@ But not:
   
     org/apache/jakarta/**
     Matches all files in the org/apache/jakarta
-      directory tree.
+ directory tree.
Matches:
 org/apache/jakarta/tools/ant/docs/index.html
@@ -171,7 +171,7 @@ But not:
     org/apache/**/CVS/*
     Matches all files in CVS directories
       that are located anywhere in the directory tree under
-      org/apache.
+ org/apache.
Matches:
 org/apache/CVS/Entries
diff --git a/manual/running.html b/manual/running.html
index c87159bb4..be6ca200e 100644
--- a/manual/running.html
+++ b/manual/running.html
@@ -489,7 +489,7 @@ your build file.
 

Ant start up scripts (in their Windows and Unix version) return the return code of the java program. So a successful build -returns 0, failed builds return other values. +returns 0, failed builds return other values.

Cygwin Users

diff --git a/manual/tasksoverview.html b/manual/tasksoverview.html index a510cd014..2f4c41f9a 100644 --- a/manual/tasksoverview.html +++ b/manual/tasksoverview.html @@ -29,23 +29,23 @@ difficult to get an overall view of what each task can do. The following tables provide a short description of each task and a link to the complete documentation.

-Archive Tasks
-Audit/Coverage Tasks
-Compile Tasks
-Deployment Tasks
-Documentation Tasks
-EJB Tasks
-Execution Tasks
-File Tasks
-Java Extensions Tasks
-Logging Tasks
-Mail Tasks
-Miscellaneous Tasks
-Pre-process Tasks
-Property Tasks
-Remote Tasks
-SCM Tasks
-Testing Tasks
+Archive Tasks
+Audit/Coverage Tasks
+Compile Tasks
+Deployment Tasks
+Documentation Tasks
+EJB Tasks
+Execution Tasks
+File Tasks
+Java Extensions Tasks
+Logging Tasks
+Mail Tasks
+Miscellaneous Tasks
+Pre-process Tasks
+Property Tasks
+Remote Tasks
+SCM Tasks
+Testing Tasks
Archive Tasks diff --git a/manual/tutorial-HelloWorldWithAnt.html b/manual/tutorial-HelloWorldWithAnt.html index 12edc2baa..e2d8ddfdb 100644 --- a/manual/tutorial-HelloWorldWithAnt.html +++ b/manual/tutorial-HelloWorldWithAnt.html @@ -464,7 +464,7 @@ steps: 1. let <junit> log the information and 2. convert thes define a report directory, create it before running the junit and redirect the logging to it. The log format is XML so junitreport could parse it. In a second target junitreport should create a browsable HTML report for all generated XML log files in the report directory. Now you can open the ${report.dir}\index.html and -see the result (looks something like JavaDoc).
Personally I use two different targets +see the result (looks something like JavaDoc).
Personally I use two different targets for <junit> and <junitreport>. Generating the HTML report needs some time and you don't need the HTML report just for testing, e.g. if you are fixing an error or a integration server is doing a job.

diff --git a/manual/using.html b/manual/using.html index c08b9c24d..406259e45 100644 --- a/manual/using.html +++ b/manual/using.html @@ -515,26 +515,26 @@ For the declaration there are several ways:
  • declare a single task per using instruction using <taskdef name="taskname" classname="ImplementationClass"/> -
    +
    <taskdef name="for" classname="net.sf.antcontrib.logic.For"/> <for ... />
  • declare a bundle of tasks using a properties file holding these taskname-ImplementationClass-pairs and <taskdef> -
    +
    <taskdef resource="net/sf/antcontrib/antcontrib.properties"/> <for ... />
  • declare a bundle of tasks using an xml file holding these taskname-ImplementationClass-pairs and <taskdef> -
    +
    <taskdef resource="net/sf/antcontrib/antlib.xml"/> <for ... />
  • declare a bundle of tasks using an xml file named antlib.xml, XML namespace and antlib: protocol handler -
    +
    <project xmlns:ac="antlib:net.sf.antcontrib"/> <ac:for ... />