/[classpath]/gjdoc/src/gnu/classpath/tools/gjdoc/Main.java
ViewVC logotype

Diff of /gjdoc/src/gnu/classpath/tools/gjdoc/Main.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.32 by julian, Tue Nov 23 14:37:36 2004 UTC revision 1.33 by julian, Tue Nov 23 15:19:33 2004 UTC
# Line 344  public final class Main Line 344  public final class Main
344    
345        Debug.log(9, "options parsed...");        Debug.log(9, "options parsed...");
346    
       //--- Complain if no packages or classes specified  
   
       if (packageAndClasses.isEmpty())  
       {  
         reporter.printError("No packages or classes specified.");  
         usage();  
         shutdown();  
       }  
   
347        //--- For each package specified with the -subpackages option on        //--- For each package specified with the -subpackages option on
348        //         the command line, recursively find all valid java files        //         the command line, recursively find all valid java files
349        //         beneath it.        //         beneath it.
# Line 494  public final class Main Line 485  public final class Main
485              }              }
486        }        }
487    
488          //--- Complain if no packages or classes specified
489    
490          if (!rootDoc.hasSpecifiedPackagesOrClasses())
491          {
492            reporter.printError("No packages or classes specified.");
493            usage();
494            shutdown();
495          }
496    
497        //--- Validate custom options passed on command line        //--- Validate custom options passed on command line
498        //         by asking the Doclet if they are OK.        //         by asking the Doclet if they are OK.
499    
# Line 1154  public final class Main Line 1154  public final class Main
1154              + " -windowtitle <text>      Browser window title\n"              + " -windowtitle <text>      Browser window title\n"
1155              /* + " -doctitle <text>         Title near the top of the overview summary file (html allowed)\n" */              /* + " -doctitle <text>         Title near the top of the overview summary file (html allowed)\n" */
1156              + "  -title                  Title for this set of API documentation (deprecated, -doctitle should be used instead).\n"              + "  -title                  Title for this set of API documentation (deprecated, -doctitle should be used instead).\n"
1157              /* + " -header <text>           Text at the top of each output file (html allowed)\n" */              + " -header <text>           Text to include in the top navigation bar (html allowed)\n"
1158              /* + " -footer <text>           Text at the bottom of each output file (html allowed)\n" */              + " -footer <text>           Text to include in the bottom navigation bar (html allowed)\n"
1159                + " -bottom <text>           Text to include at the bottom of each output file (html allowed)\n"
1160              /* + " -link <extdoc URL>       Link to external javadoc-generated documentation you want to link to\n" */              /* + " -link <extdoc URL>       Link to external javadoc-generated documentation you want to link to\n" */
1161              /* + " -linkoffline <extdoc URL> <packagelistLoc>  Link to external javadoc-generated documentation for the specified package-list\n" */              /* + " -linkoffline <extdoc URL> <packagelistLoc>  Link to external javadoc-generated documentation for the specified package-list\n" */
1162              + " -linksource              Creates an HTML version of each source file\n"              + " -linksource              Creates an HTML version of each source file\n"

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26