• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

javadoc @author tags don't appear

 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've never been able to get the author tags to work in javadoc, and wondered if I was doing something wrong. In my most recent Cattle Drive exercise, the instructor's solution starts with a documentation comment. That one didn't work for me either, and it turns out it doesn't work for Katrina either. Any ideas? I'm appending my exchange with Katrina and the documentation comment in question:

************************

Strange! I have no idea...
I also just tried it and the author tags disappeared. Want to go ask on the forums?

On Wed, Mar 17, 2010 at 5:39 PM, Ed Connery <edconnery@pciglobal.com> wrote:
> Hi Katrina,
>
> I see we have our first javadoc comment here. Out of curiosity I ran
> javadoc on this, and--just as any time I tried it on my own code--the
> author tags just disappear and don't appear anywhere in the html.  Any
> idea why? [I'm using 1.6 here but the documentation of 1.6 seems to
> say these tags should work fine.]
>
>           -- Ed
>
>
>
> Here is the instructor's solution:
>
> /** This class will convert an integer to a verbal number. <p>
>
>    Instructor's solution for JavaRanch Cattle Drive assignment
> Java-4a<p>
>
>    Pass in a number such as 45 and get back a string like
>    "forty-five". <p>
>
>    This solution can handle numbers up to 99. <p>
>
>    @author Paul Wheaton
>    @author Marilyn de Queiroz
> */
> public class Say
> {...}
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You must use the -author command line option to generate it.
 
Ed Connery
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ah, thank you Christophe!
reply
    Bookmark Topic Watch Topic
  • New Topic