[csu540-f05-rpf] <Unnamed> package on javadoc

Robert Futrelle futrelle at ccs.neu.edu
Mon Sep 19 15:13:52 EDT 2005


I redid some of my javadocs for my examples.
They now show "Package <Unnamed>" on the
Package linked page.

I suspect that what's happening is that the new javadoc,
installed with Java 1.5 ("Java 5") works somewhat differently
than the previous 1.4 version.

This is not an important change; nothing to worry about.

  - RPF


>With a student, during my office hours, we also had problems
>with the -sourcepath option.  It's all explained in the various
>javadoc pages online, FAQs, etc.  But for now, being in the
>directory where the sources are, you can first create a directory
>with a name such as jdoc  and then simply run
>
>javadoc -d jdoc *.java
>
>This seems to work just fine, on Mac and Solaris, and presumably,
>on Windows.
>
>-  RPF
>
>
>>I never use the -classpath option.  Maybe that's the difference.
>>I always produce the javadoc when I'm in the base directory itself.
>>Not sure how I do it with nested folders.  I/we need to check
>>all this out further.
>>
>>What I don't know is how the '<Unnamed>' item appears and where.
>>
>>  - RPF
>>
>>>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
>>>
>>>
>>>_______________________________________________
>>>csu540-f05-rpf mailing list
>>>csu540-f05-rpf at lists.ccs.neu.edu
>>>https://lists.ccs.neu.edu/bin/listinfo/csu540-f05-rpf
>>
>>
>>_______________________________________________
>>csu540-f05-rpf mailing list
>>csu540-f05-rpf at lists.ccs.neu.edu
>>https://lists.ccs.neu.edu/bin/listinfo/csu540-f05-rpf
>
>
>_______________________________________________
>csu540-f05-rpf mailing list
>csu540-f05-rpf at lists.ccs.neu.edu
>https://lists.ccs.neu.edu/bin/listinfo/csu540-f05-rpf




More information about the csu540-f05-rpf mailing list