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)
======================================================================