package names missing when specifying classes

Hi!

I need to generate Javadoc for some (not all) of the classes in one of the packages. So I specified the class names in the batch file (thanks again, Doug!) instead of specifying the package name. Now only the classes in the package have HTMLs, but the package is missing from overview-tree.html, package-list, index.html and whatever.

Any ideas?

Thanks!

[389 byte] By [Schreiberb] at [2007-9-26 6:04:50]
# 1

Are you using Javadoc 1.4 Beta 2? It should contain all the package

information you mention, except that it has a bug

(that will be fixed in Beta 3) whereby the package.html

information is not imported into package-summary.html.

Javadoc 1.4 Beta 2 is included in J2SE 1.4 Beta 2:

http://java.sun.com/j2se/1.4/

-Doug

dkramer at 2007-7-1 14:47:48 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 2

Hi Doug:

I used your link, installed 1.4, and now get the following message when I try to generate Javadoc with MIF Doclet:

javadoc: In doclet class com.sun.tools.doclets.mif.MIFDoclet, method start has thrown an exception java.lang.reflect.In

vocationTargetException

java.lang.NoSuchMethodError: com.sun.tools.doclets.DirectoryManager.createDirectory(Ljava/lang/String;)V

at com.sun.tools.doclets.mif.MIFObjectWriter.genWriter(MIFObjectWriter.java:98)

at com.sun.tools.doclets.mif.MIFObjectWriter.init(MIFObjectWriter.java:76)

at com.sun.tools.doclets.mif.MIFObjectWriter.<init>(MIFObjectWriter.java:50)

at com.sun.tools.doclets.mif.MIFOverviewObjectWriter.<init>(MIFOverviewObjectWriter.java:64)

at com.sun.tools.doclets.mif.MIFConfiguration.initOptions(MIFConfiguration.java:746)

at com.sun.tools.doclets.mif.MIFDoclet.start(MIFDoclet.java:51)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)

at java.lang.reflect.Method.invoke(Method.java:313)

at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:196)

at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:95)

at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:289)

at com.sun.tools.javadoc.Start.begin(Start.java:114)

When I try to generate "regular" HTML Javadoc (without MIF Doclet), I get the following:

Building tree for all the packages and classes...

javadoc: In doclet class com.sun.tools.doclets.standard.Standard, method start has thrown an exception java.lang.reflec

t.InvocationTargetException

java.lang.ClassCastException: com.sun.tools.javac.v8.code.Type$ErrorType

at com.sun.tools.javadoc.ClassDocImpl.<init>(ClassDocImpl.java:111)

at com.sun.tools.javadoc.ClassDocImpl.<init>(ClassDocImpl.java:134)

at com.sun.tools.javadoc.DocEnv.getClassDoc(DocEnv.java:388)

at com.sun.tools.javadoc.ClassDocImpl.superclass(ClassDocImpl.java:353)

at com.sun.tools.doclets.ClassTree.processClass(ClassTree.java:139)

at com.sun.tools.doclets.ClassTree.processClass(ClassTree.java:144)

at com.sun.tools.doclets.ClassTree.buildTree(ClassTree.java:108)

at com.sun.tools.doclets.ClassTree.<init>(ClassTree.java:67)

at com.sun.tools.doclets.standard.Standard.startGeneration(Standard.java:105)

at com.sun.tools.doclets.standard.Standard.start(Standard.java:45)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)

at java.lang.reflect.Method.invoke(Method.java:313)

at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:196)

at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:95)

at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:289)

at com.sun.tools.javadoc.Start.begin(Start.java:114)

at com.sun.tools.javadoc.Main.execute(Main.java:44)

at com.sun.tools.javadoc.Main.main(Main.java:34)

In both cases, nothing is generated....

What am I doing wrong?

Thanks

Benzi

Schreiberb at 2007-7-1 14:47:48 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...