The moose likes Beginning Java and the fly likes @Author tag not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "@Author tag not working" Watch "@Author tag not working" New topic

@Author tag not working

Steve Rorabaugh

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

Joined: Jul 08, 2003
Posts: 24199

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

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:
subject: @Author tag not working
It's not a secret anymore!