[csu540-f05-rpf] <Unnamed> package on javadoc
chungwc at ccs.neu.edu
chungwc at ccs.neu.edu
Mon Sep 19 12:55:57 EDT 2005
Hi all,
As mentioned in class, I noticed that when I create javadoc for Programming
Assignment 1, the package index is enabled as opposed to the example at
http://www.ccs.neu.edu/home/futrelle/teaching/csu540f2005/examps/examps/ShapesPaths/jdocs/. It seems like javadoc is creating a default package <Unnamed> for me because my program doesn't have one. On the serialized-form.html generated with javadoc, a package name <Unnamed> is also shown.
Does anyone else notices the same thing on their assignment? Is there a way
to ask javadoc not to create the default package?
Below is what I did to generate the documentation.
[acrux: ~/classes/csu540/Assignment1/simplestDraw] > ls
Readme.txt SDGUI.java jdocs/
SDDrawer.class SimplestDraw.class run_simplestDraw.jar
SDDrawer.java SimplestDraw.java run_simplestDraw.mf
SDGUI.class SimplestDraw.tiff
[acrux: ~/classes/csu540/Assignment1/simplestDraw] > javadoc -d jdocs
-classpath . *.java
Loading source file SDDrawer.java...
Loading source file SDGUI.java...
Loading source file SimplestDraw.java...
Constructing Javadoc information...
Standard Doclet version 1.5.0_01
Building tree for all the packages and classes...
Generating jdocs/SDDrawer.html...
Generating jdocs/SDGUI.html...
Generating jdocs/SimplestDraw.html...
Generating jdocs/package-frame.html...
Generating jdocs/package-summary.html...
Generating jdocs/package-tree.html...
Generating jdocs/constant-values.html...
Generating jdocs/serialized-form.html...
Building index for all the packages and classes...
Generating jdocs/overview-tree.html...
Generating jdocs/index-all.html...
Generating jdocs/deprecated-list.html...
Building index for all classes...
Generating jdocs/allclasses-frame.html...
Generating jdocs/allclasses-noframe.html...
Generating jdocs/index.html...
Generating jdocs/help-doc.html...
Generating jdocs/stylesheet.css...
[acrux: ~/classes/csu540/Assignment1/simplestDraw] > ls -R
:
Readme.txt SDGUI.class SimplestDraw.java
run_simplestDraw.jar
SDDrawer.class SDGUI.java SimplestDraw.tiff
run_simplestDraw.mf
SDDrawer.java SimplestDraw.class jdocs/
/jdocs:
SDDrawer.html constant-values.html overview-tree.html
resources/
SDGUI.html deprecated-list.html package-frame.html
serialized-form.html
SimplestDraw.html help-doc.html package-list
stylesheet.css
allclasses-frame.html index-all.html package-summary.html
allclasses-noframe.html index.html package-tree.html
/jdocs/resources:
inherit.gif
Thanks,
Wing
More information about the csu540-f05-rpf
mailing list