-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0, 1.4.1_02
-
mantis
-
generic
-
generic
-
Verified
The usage says that the default value of -progress is true, but it actually
works as -progress false.
% java -version
java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)
% HtmlConverter -help
Usage: HtmlConverter [-option1 value1 [-option2 value2 [...]]] [-simulate] [filespecs]
where options include:
-source: Path to get original files. Default: <userdir>
-dest: Path to write converted files. Default: <userdir>
-backup: Path to write backup files. Default: <dirname>_BAK
-f: Force overwrite backup files.
-subdirs: Should files in subdirectories be processed.
-template: Path to template file. Use default if unsure.
-log: Path to write log. If not provided, no log is written.
-progress: Display progress while converting. Default: true
-simulate: Display the specifics to the conversion without converting.
-latest: Use the latest JRE supporting the release mimetype.
-gui: Display the graphical user interface for the converter.
filespecs: Space delimited list of files specs. Default: "*.html *.htm" (quotes required)
% cd htmls
% HtmlConverter -subdirs *.html
% cp ../htmls_BAK/*.html .
% HtmlConverter -subdirs -progress true *.html
Applet Conversion February 19, 2002 3:08:50 PM JST
/tmp/htmls/TextDisplay_utf.html Processing...A backup copy already exists for...
/tmp/htmls/TextDisplay_utf.html
Done Applets Found: 1
/tmp/htmls/TextDisplay_euc.html Processing...A backup copy already exists for...
/tmp/htmls/TextDisplay_euc.html
Done Applets Found: 1
/tmp/htmls/TextDisplay_sjis.html Processing...A backup copy already exists for...
/tmp/htmls/TextDisplay_sjis.html
Done Applets Found: 1
All Done Files Processed: 3 Applets Found: 3
%
works as -progress false.
% java -version
java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)
% HtmlConverter -help
Usage: HtmlConverter [-option1 value1 [-option2 value2 [...]]] [-simulate] [filespecs]
where options include:
-source: Path to get original files. Default: <userdir>
-dest: Path to write converted files. Default: <userdir>
-backup: Path to write backup files. Default: <dirname>_BAK
-f: Force overwrite backup files.
-subdirs: Should files in subdirectories be processed.
-template: Path to template file. Use default if unsure.
-log: Path to write log. If not provided, no log is written.
-progress: Display progress while converting. Default: true
-simulate: Display the specifics to the conversion without converting.
-latest: Use the latest JRE supporting the release mimetype.
-gui: Display the graphical user interface for the converter.
filespecs: Space delimited list of files specs. Default: "*.html *.htm" (quotes required)
% cd htmls
% HtmlConverter -subdirs *.html
% cp ../htmls_BAK/*.html .
% HtmlConverter -subdirs -progress true *.html
Applet Conversion February 19, 2002 3:08:50 PM JST
/tmp/htmls/TextDisplay_utf.html Processing...A backup copy already exists for...
/tmp/htmls/TextDisplay_utf.html
Done Applets Found: 1
/tmp/htmls/TextDisplay_euc.html Processing...A backup copy already exists for...
/tmp/htmls/TextDisplay_euc.html
Done Applets Found: 1
/tmp/htmls/TextDisplay_sjis.html Processing...A backup copy already exists for...
/tmp/htmls/TextDisplay_sjis.html
Done Applets Found: 1
All Done Files Processed: 3 Applets Found: 3
%