1.4 errors
Using Javadoc from the SDK1.4 rc-1, I run into a problem when trying to create documentation on a directory that exists twice in my classpath. As an example:
CLASSPATH=.;D:\Computer\JavaPrograms
If I go to directory D:\Computer\JavaPrograms and run javadoc:
javadoc -d .\docs jtools.exception
I get errors throughout my code based on "duplicate class" messages, similar to:
"
D:\Computer\JavaPrograms\jtools\exception\ParameterOutOfBoundsException.java:25: duplicate class: jtools.exception.ParameterOutOfBoundsException
public class ParameterOutOfBoundsException extends IOException
D:\Computer\JavaPrograms\jtools\exception\DataDoesNotExistException.java:23: duplicate class: jtools.exception.DataDoesNotExistException
public class DataDoesNotExistException extends IOException
"
There is no duplicate class, but it appears to be reading the class twice, once through the "." part of the classpath, once through the "D:\Computer\JavaPrograms" part of the classpath. As such, the javadoc does not complete.
There was no problem with this in version 1.3.x or 1.2.x, from what I recall.
The workaround is simple; remove one of the classpath elements from the classpath.

