File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Javadoc a whole App in one go. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Javadoc a whole App in one go." Watch "Javadoc a whole App in one go." New topic

Javadoc a whole App in one go.

Steve Stuart

Joined: Apr 29, 2008
Posts: 1
Hi There,

I've been asked to learn an App for my new company so I've unpacked the .war and have all the JSP's, .class files etc. I've decompiled the class files so I now have all the source code too. What I'd like is the javadocs to go with it.

Running javadoc -d /temp works fine but I want to build the docs for all of the dozens of files in one shot, I've gone to the com directory at the root of the package structure and tried all kinds of variations with -d and -sourcepath but I can't get it to traverse down the packages and generate the docs.

I know it's something simple but I can't seem to crack it.
Rodrigo Tomita
Ranch Hand

Joined: Apr 28, 2008
Posts: 70

You may want to take a look at the [ packagenames ] and [ -subpackages ] arguments of javadoc:

I agree. Here's the link:
subject: Javadoc a whole App in one go.
It's not a secret anymore!