Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4645381
Votes 0
Synopsis Add warning when packages in XML book file is different from on command line
Category customdoclets:mifdoclet
Reported Against 1.2beta1
Release Fixed 1.2beta2
State 10-Fix Delivered, bug
Priority: 3-Medium
Related Bugs
Submit Date 01-MAR-2002
Description
With the current mifdoclet, the <chapter> order of packages I specify in a 
book file seems to be ignored; the chapters come out alphabetically by
package, although the classes within a <chapter> come out in the order
I specify. 

OK, I figured out what was going on. I listed one more package on the
javadoc command line than I had enumerated in <package>s in <chapter>s
in the book file. MIFConfiguration.getOrderedPackagesArray silently
treats this as an error, and sorts the packages. I'm not sure why
it decides to sort in this case, but perhaps at least it shouldn't
be silent about doing so?
Work Around
N/A
Evaluation
Fixed by adding message:

  Error:  Package list in XML book file is not identical to package list passed            into javadoc. 

The other part of this bug, to keep the packages in the same order as they
are in the XML book file, is bug 4645280: "Packages silently sorted when list passed in not identical to <Package> list"

  xxxxx@xxxxx   2002-02-28
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang