JAVADOC for SUBDIRs --> Works<--

Open an editor and write this:

@echo off

rem this program is for documentation of JAVA-programs

rem author: Patrick Goebel

rem date: 24/10/2002

rem %1 => path of the first program-directory

cd %1

dir /a:-d /B /s *.java > files

md doku

@echo Generating API ....

c:\Jdk140\bin\javadoc -d %1\doku @files

del files

echo "End of file"

Save the File as *.bat (for example: api.bat)!

When you go to dos call the batch file api c:\>directory<

in >directory< you write the first directory of your path where your java files are saved.

Maybe your subdirs look like this:

javaown\portal\sub1\*.java

javaown\portal\sub2\*.java

javaown\portal\sub3\*.java

javaown\tool\sub1\*.java

javaown\tool\sub2\*.java

If you saved your files in c:\javaown

you call the BATCH c:\api c:\javaown

and fin!

The Documantation will be created in Doku

[992 byte] By [PaddyGa] at [2007-9-27 23:20:16]
# 1
This may work, but it seems like far more trouble that is necessary.Please show us the directory structure of the original source filesbefore they are moved.-Doug KramerJavadoc team
dkramera at 2007-7-7 15:22:23 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...