Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javadoc question

 
Holmes Wong
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I put all source files in /src directory, I used
the following command to generate java docs to
/docs directory:

Strangely, javadoc always skips the first source file in /src, I am wondering if I am doing wrong or this is a bug? Thanks.
 
Mike Piotrowski
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Holmes,
I went back and tried it again and the same thing happens to me. Very strange. Funny thing is thats the way I submitted my assignment and still got a 20/20 on documentation.
Mike
 
John Smith
Ranch Hand
Posts: 2937
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I went back and tried it again and the same thing happens to me.

I generated my javadocs, and to my great surprise, I was short of one class, too. But then I looked closer and found the "missing" file:
in javadocs HTML package display, the exception classes are listed separately, and in the other window, the interfaces are also listed separetely, and that's what I didn't spot when I looked at it originally.
I am almost sure you have the same problem, guys. Or rather, there is no problem at all.

Eugene.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic