I was getting a zillion errors and did not want to fix them all. In Netbeans, you can put this useful option to the Documenting section of project properties. No need to edit cryptic ant build xml files :-)