Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4241252

stddoclet: Allow -header, -footer, -bottom to take filenames as arguments

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.2.1
    • tools
    • beta
    • generic
    • generic
    • Not verified



      Name: vi73552 Date: 05/25/99


      Hi,

      You probably already know about this but I thought I'd mention
      it anyway.

      As you know, the standard "javadoc" doclet accepts these command
      line options:
        -header
        -footer
        -bottom

      Unfortunately, Windows 95/98 seems to allow only 127 characters
      on the command line (thank you, Microsoft). Of course, this
      leaves very little room for specifying header and footer HTML
      codes.

      What's that you say? Why not just use environment variables to
      store my HTML codes and then use the environment variables as
      command line parameters, like this?

      SET LINE1=<CENTER>CONFIDENTIAL</CENTER>

      and then use %LINE1% in the javadoc command line like this:
        .... -header %LINE1% ....

      Yes, that would be fine except Windows 98 does not allow
      the '<' or '>' characters to be in an environment variable
      (thank you again, Microsoft) so the SET statement above
      generates a syntax error.

      May I make a suggestion?

      Instead of having the "-header", "-footer", and "-bottom"
      command line options take actual HTML text as a parameter,
      have them take a filename containing HTML text!

      For example: .... -header headerFile.html ....


      Thanks.
      (Review ID: 83468)
      ======================================================================

            dkramersunw Douglas Kramer (Inactive)
            vasya Vassili Igouchkine (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: