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

RFE: HTML Converter commandline (non-GUI) mode pops up a dialog

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 1.4.0
    • 1.3.1
    • deploy
    • beta2
    • x86
    • windows_2000



      Name: yyT116575 Date: 06/07/2001


      java version "1.3.1"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24)
      Java HotSpot(TM) Client VM (build 1.3.1-b24, mixed mode)

      The HTML converter, when run in a command line mode, still ends up popping up
      a dialog for user confirmation, even though there's no user interaction
      expected --- this makes it hard to run it as a part of a script or batch file.

        To reproduce:
      - cd to the directory containing an HTML file to be converted
      - create a sub-dir "bak" and copy the same HTML file to the bak directory
      - run the converter in non-GUI mode by giving it command lines; something like:
       java -jar -cp c:\jdk1.3.1\lib\htmlconverter.jar HTMLConverter MyFile.html
       -backup bak
      - This will prompt the user to confirm whether they want to overwrite the
      backup copy.

      In the non-GUI mode, one would expect a way to force it to copy over an existing
      file since this is running on a server and there's no user to interact and hit OK buttons.
      It's similar to "cp -f" or "rm -f" commands where you can force non user input. At the
      very least, this should be considered a useability issue.
      (Review ID: 125141)
      ======================================================================

            duke J. Duke
            yyoungsunw Yung-ching Young (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: