Errata

Java Power Tools

Errata for Java Power Tools

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
Jupiter chapter
whereever the URL is listed

The URL to the Jupiter code review tool for Eclipse should be:

http://code.google.com/p/jupiter-eclipse-plugin/

We moved it from the CSDL site a year or so ago.

Note from the Author or Editor:
On page 698, step 3 should read: "Enter the Jupiter remote site URL. Check the Jupiter web site (http://code.google.com/p/jupiter-eclipse-plugin/) to find the right URL for your version of Eclipse.

Anonymous  Jun 06, 2008 
Printed
Page 7
4th paragraph

You also need .... in the Environmen Variables ...

should be replaced with

You also need .... in the Environment Variables ...

i mean, there is a 't' missing at the end of the word Environment.

Note from the Author or Editor:
On page 7, "You also need .... in the Environmen Variables ..." should read "You also need .... in the Environment Variables ..."

Anonymous  Jun 06, 2008 
Printed
Page 7
4th paragraph

You also need .... in the Environmen Variables ...

should be replaced with

You also need .... in the Environment Variables ...

There is a 't' missing at the end of the word Environment.

Anonymous   
Printed
Page 25
2dn listing

every occurence of the 'axiumuRevenue' string should be replaced by 'aximumRevenue'

Note from the Author or Editor:
Every occurence of the 'axiumuRevenue' string in this code listing. should be replaced by 'aximumRevenue'

Anonymous  Jun 06, 2008 
Printed
Page 25
2dn listing

every occurence of the 'maxiumuRevenue' string should be replaced by 'maximumRevenue'

Anonymous   
Printed
Page 34
first listing

the <batchtest> sample is missing the 'todir' attribute definition that it is supposed to illustrate:

<target name="test" ...
...
<batchtest>

should be replaced with:

<target name="test" ...
...
<batchtest todir="${reports.dir}">

Anonymous  Jun 06, 2008 
Printed
Page 99
2nd paragraph

Garbled sentence reads:

"This will create a executable web application, as well as a good example of a working, detailed POM file for a realBy default."

The first bit should say "an executable", but that's OK. It's the end of the sentence that's totally nonsensical.

Note from the Author or Editor:
Should read "This will create an executable web application, as well as a good example of a working, detailed POM file."

Anonymous  Oct 02, 2008 
Printed
Page 245
last sentence, "Step though..." should be "Step through..."

Anonymous   
Printed
Page 295
3rd paragraph

"CruiseControl is the oldest of the three tools" - three should be four, three plus the one being discussed.

Note from the Author or Editor:
Should read "CruiseControl is the oldest of the four tools"

Chris Pieper  Jan 01, 2009 
Printed
Page 297
3rd paragraph (?)

starts "By default, it will use port for the web site"...
No port number is mentioned.

Note from the Author or Editor:
Should read "By default, it will use port 8080 for the web site"

Chris Pieper  Jan 01, 2009 
Printed
Page 330
last sentence, there should be a closing parenthesis after "context".

Anonymous   
Printed
Page 392-393
392 last paragraph, 393 code example

@BeforeClass and @AfterClass cannot be annotated on member methods. Doing so will lead to a runtime error.
They only can be used on static method.
See also
http://junit.sourceforge.net/javadoc_40/org/junit/BeforeClass.html
This also invalidates the example for what those methods can be used.

Note from the Author or Editor:
This is correct - there is a typing error in the code sample on page 393. The @BeforeClass method should read:

@BeforeClass
public static void initialize() {...

And the @AfterClass method should read:

@AfterClass
public static void tidyup() {...

Anonymous  Jul 24, 2008 
Printed
Page 640
Figure 20-17

The picture is supposed to be an screen shot of a TestNG failure, but it's something completely different.

Note from the Author or Editor:
Figure 20-17 is incorrect. The correct image can be found at http://www.wakaleo.com/public_resources/java-power-tools/fest-testng-failure.jpg

Anonymous  Sep 17, 2008 
Printed
Page 640
Figure 20-17

The figure doesn't look like a screen shot. Actually it is identical to figure 27-14 entitled "The lifecycle of a bug in Bugzilla". Where can I find proper screenshot?

Note from the Author or Editor:
Figure 20-17 is incorrect. You can find the correct screenshot <a href="http://www.wakaleo.com/public_resources/java-power-tools/fest-testng-failure.jpg">here</a>.

Anonymous  Oct 02, 2008 
Printed
Page 641
last sentence "...when them looking up" should be "when looking them up".

Anonymous   
Printed
Page 792

(792) second complete paragraph, second sentence, "you IDE" should be "your IDE".

Anonymous