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 a whole App in one go.

 
Steve Stuart
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 something.java 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
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Steve,

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

http://java.sun.com/javase/6/docs/technotes/tools/windows/javadoc.html#referenceguide

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