[help needed] Javadoc problem with many files

Hi,

I have an Ant script generating my javadoc every night. I have about 5700 java files making about 42MB of data.

It worked fine for two years until two weeks ago, where the script stopped with the following message :

<<

[... big snip...]

[javadoc] C:\Temp\Java\blablabla.java:58: cannot resolve symbol

[...snip...]

[javadoc]public HtmlComponent getCell(

[javadoc]^

[javadoc] 100 errors

[javadoc] 1 warning

BUILD SUCCESSFUL

Total time: 1 minute 40 seconds

>>

If I execute the javadoc generation on a smaller set of java source files, I still have a lot (100 displayed) of error messages like the one above (which generaly don't stop javadoc), but the generation continues :

<<

[...big snip...]

[javadoc] C:\Temp\Java\xxx.java:12: cannot resolve symbol

[...snip...]

[javadoc]public SelectionNoop(Fig fig) {

[javadoc] ^

[javadoc] Standard Doclet version 1.4.2_08

[javadoc] Generating C:\temp\JavadocNewSI\constant-values.html...

[javadoc] Building tree for all the packages and classes...

[javadoc] Generating C:\temp\JavadocNewSI\com\zz\common\job\common\class-use\ManagerDelegate.html...

[...big snip...]

[javadoc] Generating C:\temp\JavadocNewSI\stylesheet.css...

[javadoc] 6251 warnings

BUILD SUCCESSFUL

Total time: 23 minutes 33 seconds

>>

I don't understand what's going on. It is not a memory problem since it issues an intelligible message.

I also managed to generate javadoc for several subsets, so it can't be a problem with one file or folder crashing javadoc.

Any help welcome,

Tug

[1748 byte] By [Tugudua] at [2007-10-2 9:16:24]
# 1

Well, it seems that the cause was indeed an empty java file...

The generation fails if the empty java file is the set AND a refering file is in the set. If only one of these conditions are missing, then javadoc goes on...

What I don't understand is that the empty file used to be here since may 2005 and the referring class is unchanged since 2004... it never bugged javadoc before.

Creepy...

Tug

Tugudua at 2007-7-16 23:23:31 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 2
Do not attempt to adjust your televison set. We are in full control....8=)
Dick_Adamsa at 2007-7-16 23:23:31 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...