including subpackages in javadoc

Hi,

i want javadoc to generate documentation for all the code from a given directory includng all the packages?

I have a directory called sources where the source code resides. This latter is constituted of two packages each one including 3 subpackages.

I would like to have a command that would generate the docs for all this. Now i'm doing the following from the sources directory: "javadoc -d ../api -sourcepath . ". This generates the docs for the classes residing in the two packages but does not include the classes of the subpackages.

Thank you

[583 byte] By [helpcomma] at [2007-10-3 1:30:48]
# 1
Add the -subpackages option to recursively document subpackages -- it takes an argument of root-level package names: http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/javadoc.html#subpackages
dhkramera at 2007-7-14 18:28:40 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...