• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to use javadoc?

 
Richard Phen
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy!
Finally, I finished the coding part and got into document part. Now, I have a question about the javadoc.
There are 3 folders, db, client, server, in the src fold which parallels with another 2 folders named classes and docs, all of these folders located C:\exam. I use command line to get the doc for db folder successfully that is showed blow:

Question here, when I continued to javadoc the source code in client folder, the new index file replaced old one. Therefore, I just got an index for client folder's code. Can I javadoc all source code into docs in one step? How?
Thanks a lot!
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
javadoc -private suncertify.db suncertify.client suncertify.help
That is what I used to make all the Javadoc files.
I had three directories
c:\devexam\suncertify\db
c:\devexam\suncertify\client
c:\devexam\suncertify\help
I ran the above line from c:\devexam.
Hope that helps, and you can change it to suit your directory structures.
Mark
 
Richard Phen
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes! Thank you mark! Your answers are always valuable!
I used
javadoc -d [where the javadoc file wants to be] -sourcepath [the path of the package] packagename.foldername
and done!
Thank you again!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic