• Post Reply Bookmark Topic Watch Topic
  • New Topic

how do I generate javadoc for all packages?

 
YungSheng Chang
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not quite familiar with javadoc and stuck here:
Suppose I have three package:
- suncertify.db
- suncertify.gui
- suncertify.network
If I generate javadoc for pacakge suncertify.db:
javadoc -d ../html suncertify.db
And suncertify.gui
javadoc -d ../html suncertify.gui
The javadoc is for the package only.
How do I generate javadoc for three package at the same time?
many thanks!!
 
Leo Tien
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi YungSheng, you can use this command line to package more than two packages classes together:

I suggest you use a develop tool like JBuilder to do like this work.
 
Jacques Bosch
Ranch Hand
Posts: 319
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi YungSheng.
I do mine like this on windows in 3 files.
---------------------------------------------------------------
File: @JavaDoc-Make.bat:
rem @echo off
echo Generating JavaDocs
%JAVA_HOME%\bin\javadoc @JavaDocOptions.txt @JavaDocPackages.txt
---------------------------------------------------------------
File: JavaDocOptions.txt:
-classpath classes
-d "Final Asignment Jar Content/docs/javadoc"
-nosince
-source 1.4
-sourcepath code
-use
---------------------------------------------------------------
File: JavaDocPackages.txt:
suncertify
suncertify.db
suncertify.remote
suncertify.gui
 
YungSheng Chang
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yap, I got it.
This forum is really a nice place to get to talk to people, cool.
 
Jacques Bosch
Ranch Hand
Posts: 319
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is! Isn't it!?
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!