Errata
The errata list is a list of errors and their corrections that were found after the product was released.
The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.
Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted by | Date submitted |
---|---|---|---|---|
Printed | Page 8 Table 1-2 |
There are two errors in Table 1-2 (The target element's attributes): |
Anonymous | Sep 15, 2008 |
Printed | Page 25 clean target in first code example |
<delete file="*.class"/> and <delete file="*.jar/> doesn't work. It appears that patterns are not accepted, delete file expects one file. If I replace *.class with Project.class and *.jar with Project.jar, then the clean task works. |
Paul Pearson | Jul 07, 2010 |
Printed | Page 33 Top paragraph |
the book says: ". . . if one or more of the criteria evaluate to false, the property is assigned a false value." |
Sean Wood | Apr 16, 2009 |
Printed | Page 34 top and bottom |
The uptodate condition says that the functionality is identical to the Uptodate task. In particular it says that one of the required attributes is "property." |
Sean Wood | Apr 16, 2009 |
Printed | Page 35 Paragraph following the Performing Conditional Actions title |
Sentence: |
Anonymous | |
Printed | Page 35 1st paragraph under "Perfroming Conditional Actions" |
Current version of sentence: Three elements support if and unless attributes: target, patternset (which can group file-matching patterns such as "*.java," "*.class," and so on; see the section "Working with Patterns"); fail target is the simplest, as shown here: |
Paul Pearson | Jul 07, 2010 |
Printed | Page 36 Example following the title Stopping Builds |
The target element in the following example is in an invalid state. |
Anonymous | |
Printed | Page 38 6th paragraph |
It says "using the srcfile attribute", but we get shown a nested srcfile element, although we got told |
Anonymous | |
50 Top of page |
Chapter 5, definition of class Project -- included a constructor with a String argument. This should be a no-argument constructor. As displayed -- it will cause JUnit to fail (at least Junit 3.8.1). |
Jay Pedersen | May 19, 2009 | |
Printed | Page 52 most of page, several examples |
Code sample shows a <filter set> element, but "filter set" is an illegal XML name (ref: XML in a Nutshell |
Anonymous | |
Page 52 Code samples |
The ${TODAY} variable is used as an example substitution value for a string of text matching a given pattern. However, the ${TODAY} variable is not by default defined in an Ant script; one has to first include "<tstamp/>" in the Ant script, which is a task that sets standard time properties, one of which is ${TODAY}. See https://ant.apache.org/manual/Tasks/tstamp.html for more information. |
Bryce Thomas | Apr 13, 2015 | |
Printed | Page 63 In the "tip" section with the animal footprint icon |
Specify "1.5" to the javac attribute of javac... |
famethius | Mar 19, 2010 |
Printed | Page 82 Tip block |
"Use the jarsign task..." |
Anonymous | |
Printed | Page 97 example for <checksum |
checksum attribute name is lowercase. |
Anonymous | |
Printed | Page 103 3rd paragraph |
<filter set> and </filter set> should be <filterset> and </filterset> respectively |
Anonymous | Apr 04, 2011 |
Printed | Page 185 Chapter 8 |
Hi, |
Paolo Lordi | Feb 01, 2019 |