jQuery in Action, 2nd edition
The moose likes Beginning Java and the fly likes @Author tag not working Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "@Author tag not working" Watch "@Author tag not working" New topic
Author

@Author tag not working

Steve Rorabaugh
Greenhorn

Joined: Aug 07, 2003
Posts: 3
Just beginning to experiment with Javadoc. It does not appear that the @author tag is recognized within Javadoc, or at least the version that comes with the download of j2sdk1.4.1_02. I've tried my own comments using that tag, as well as copying Paul Wheaton's source code for AWT class from Javaranch. In neither case did the @author tag produce an Author comment in the HTML. The other tags, such as @param and @return are recognized and produce the appropriate comments. Is this a flaw in Javadoc, or am I doing something wrong?
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24045
    
  13

By default, javadoc doesn't do anything with @author tags unless you use the -author switch on the command line. Try typing "javadoc" with no arguments to see the (long) list of possible arguments to javadoc.


[Jess in Action][AskingGoodQuestions]
Steve Rorabaugh
Greenhorn

Joined: Aug 07, 2003
Posts: 3
Works fine with the -author option. Thanks. (I'm going to stick some of these gremlins in here just to see what they do.)

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: @Author tag not working
 
Similar Threads
NX: A question concerning JavaDoc
producing javadoc
generating own depricated method
@author tag in Javadoc
Javadoc on Jar