Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DocCheck Not Finding All Source Files

Status
Not open for further replies.

YerMom

Programmer
Oct 3, 2006
127
US
I'm on windows xp running DocCheck from a bat file. I specify the sourcepath as follows:

Code:
-sourcepath .\com\SteveSystems\People\*.java

There are two classes (.java files) in the People directory and both have missing Javadoc tags. However, DocCheck only reports errors in one class. Am I using the -sourcepath option incorrectly?

The entire contents of my bat file are:

Code:
if exist docCheckOutput rmdir /s /q docCheckOutput
mkdir docCheckOutput
 
javadoc ^
     -doclet com.sun.tools.doclets.doccheck.DocCheck  ^
     -docletpath C:\DocCheck\doccheck1.2b2\doccheck.jar ^
     -J-Xmx20M                                        ^
     -d docCheckOutput                                ^
     -classlist                                       ^
     -docletID                                        ^
     -title "DocCheck Sample Code"                    ^
     -sourcepath .\com\SteveSystems\People\*.java
 
pause

Thanks.
 
thank you stefanwanger and Dianecht for your help.

Dianecht, I was indeed planning on letting people on this forum know that I had found a solution, but thanks for the reminder.
 
Also, my apologies to stefanwagner and Dianecht. It looks like I made you do some work that was not necessary. I will definitely not let this happen again.
 
No problem for me. Finding this out is just a way for me to learn something new.

Cheers,
Dian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top