Javadoc does not recognize doctitle option/flag -


i running javadoc doclet through gradle, , when running javadoc/doclet task, receiving next error:

error - invalid flag: -doctitle 

and after that, next usage table

usage: javadoc [options] [packagenames] [sourcefiles] [@files] -overview <file>          read overview documentation html file -public                   show public classes , members -protected                show protected/public classes , members (default) -package                  show package/protected/public classes , members -private                  show classes , members -help                     display command line options , exit -doclet <class>           generate output via alternate doclet -docletpath <path>        specify find doclet class files -sourcepath <pathlist>    specify find source files -classpath <pathlist>     specify find user class files -exclude <pkglist>        specify list of packages exclude -subpackages <subpkglist> specify subpackages recursively load -breakiterator            compute 1st sentence breakiterator -bootclasspath <pathlist> override location of class files loaded                           bootstrap class loader -source <release>         provide source compatibility specified release -extdirs <dirlist>        override location of installed extensions -verbose                  output messages javadoc doing -locale <name>            locale used, e.g. en_us or en_us_win -encoding <name>          source file encoding name -quiet                    not display status messages -j<flag>                  pass <flag> directly runtime system 

does have idea why javadoc not accepting flag? in theory, running javadoc tools.jar jdk1.6. thought javadoc accept doctitle option. thank time!

edit: doctitle option part of standard doclet, looks not being able access standard doclet options.

edited:

got it! problem in doclet itself. not extending standard doclet ("public class mydoclet extends standard {"), flags standard doclet not available (and doctitle part of flags of standard doclet).

thanks paulo making me "re-think" answer :-)


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -