The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

ksangani (3) [Avatar] Offline
#1
Look at the highlighted text which is either misspelled, missing or extra.

Page 165
but actually the org.apache.commons.collection package is an implementation detail.

Page 165, Figure 6.3
It would be better if an example shows pacakges from BeanUtils and Collection module and how they merge.

Page 171, Section 6.1.4
Before: may want to make not want to share the statics in a JAR with other bundles.
After: may not want to share the statics in a JAR with other bundles.

Page 171, Section 6.1.4
Before: In such situations, it can make more more sense
After: In such situations, it makes more sense

Page184
it refers jEdit example in figure 6.9 but figure 6.9 shows org.foo.* packages rather than jEdit packages.
richard.hall (87) [Avatar] Offline
#2
Re: Chapter 6: errata
Thanks for the feedback. I inserted fixes and noted your suggestions for improving the explanation.
serverdude (24) [Avatar] Offline
#3
Re: Chapter 6: errata
Page 221 - 222. No anchor for #C reference.
Export-Package: org.apache.commons.beanutils.* #A
Private-Package: org.apache.commons.collections #B
#A public BeanUtils API
#B internal collection classes
#C collections is optional
Probably lacking the 3rd line due to a page break. From the beanutils.bnd file:
Export-Package: org.apache.commons.beanutils.*
Private-Package: org.apache.commons.collections
Import-Package: org.apache.commons.collections.*;resolution:=optional,*


p.231 Listing under 'Replacing the jar task with bnd' starts from 5


References to bnd point to version 0.0.355 - current version in downloaded sample code is 0.0.372. Bnd-0.0.355 is referenced on pages: 222, 231, 234, 242, and 251
This shouldn't be a big issue for any developer to spot, and the version of bnd is most likely going to change current release at aqute.biz is 0.0.384
stuart.mcculloch (29) [Avatar] Offline
#4
Re: Chapter 6: errata
Thanks, we're updating this particular example to show a complete solution and will check the references at the same time. We'll also be using the latest version of the Bnd Tool in the next MEAP update.
jpclouse (8) [Avatar] Offline
#5
Re: Chapter 6: errata
1. On page 220 is a sentence starting with "We could optionally import it, since the package like this." The verb is missing from the second clause.
2. On page 221 is the sentence "In the case, if the full package is available we will import it instead, but if it is not
available then we can use the private copy." "In the case" should be "In this case?"
3. On page 221 is the sentence "This may actually work in some situations; for example, if our BeanUtils bundle, a
BeanUtils and collections importing bundle, and a bundle exporting the collections package." This sentence isn't correct gramatically but I'm not sure what was meant. The second portion of the sentence appears to need a verb.
4. On page 221 is a sentence starting with "It means the BeanUtils bundle is using it own private copy...." The second "it" should be "its."