javadoc a folder

Is it possible to javadoc a folder and it will create documents for all java files in the folder and subfolder?

I had done this using a batch file, but would prefer not to use this.

E.g.

-c

--project

folder1

-package1

--package2

folder2

-package3

--package4

I'd like to specify project and javadoc would create all documentation for java files in package1-4 but there could be alot more folders.

[469 byte] By [Rebels_Mascota] at [2007-10-2 19:12:45]
# 1

I went with the for loop, seems the easy way to do it.

FOR /R "Root_Folder" %%G IN (*.java) DO javadoc -doclet customDocletClass "%%G"

or using the standard doclet:

FOR /R "Root_Folder" %%G IN (*.java) DO javadoc "%%G"

the %%G will hold the file name

Message was edited by:

Rebels_Mascot

Rebels_Mascota at 2007-7-13 20:53:48 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...