• 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

How to use javadoc?

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
We're all out of roofs. But we still have tiny ads:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic