I wonder whether a Javadoc spell checker exists somewhere in open source? Would be great to have it pluggable as Maven plugin, but even a standalone binary distribution will work.
There actually is at least one library that does that: Spell Check Doclet
Plain Javadoc usage:
javadoc  ^
   -doclet      spellcheck.SpellCheckDoclet ^
   -classpath   "c:\Javasoft\j2sdk1.5.0_06\lib\tools.jar;" ^
   -sourcepath  "c:\Work\dev" ^
   -docletpath  ".;c:\Tools\jazzy-0.5.2\jazzy-core.jar" ^
   -subpackages "jpdf" ^
   ^
   -echo on ^
   -checkHtmlFiles ^
   -dictionary  "/Tools/jazzy-0.5.2/dict/english.0" ^
   -dictionary  "/Tools/jazzy-0.5.2/scowl_dict/american-words.10" ^
   -dictionary  "/Tools/jazzy-0.5.2/scowl_dict/american-words.20" ^
   -dictionary  "/Tools/jazzy-0.5.2/scowl_dict/american-words.35" ^
   -dictionary  "./files/dictionary_java.txt" ^
   -dictionary  "./files/dictionary_jpdf.txt" ^
   -ignoreContaining "_" ^
   -ignoreContaining "." ^
   -echo off ^
   -ignoreFile  "./files/ignoreWords_html.txt" ^
   -ignoreFile  "./files/ignoreWords_gui.txt"
Now you just need to
javadoc:javadoc mojo
parametersIf you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With