Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2037065 | 1.4.0 | William Harnois | P5 | Resolved | Fixed | beta |
When running the HTMLConverter manually, the -template option will only work if the template file is in the directory that the command is being entered. Entering a path to a specific template file does not work.
Example(not working):
tirpitz 80 =>java -jar htmlconv1_3.jar -template /home/billyh/extend.tpl* index.html
Using default template file. Specified template file does not exist: /home/billyh/extend.tpl
Java(TM) Plug-in HTML Converter
Applet Conversion September 16, 2000 5:00:21 PM EDT
/home/billyh/plugin/index.html Processing...Done Applets Found: 1
All Done Files Processed: 1 Applets Found: 1
tirpitz 81 => ls -l /home/billyh/extend.tpl*
-rwxr-xr-x 1 billyh 20 1165 Sep 16 16:41 /home/billyh/extend.tpl*
Example(working):
tirpitz 87 =>ls
converter.props extend.tpl* index.html
convertlog.txt htmlconv1_3.jar t.html
tirpitz 88 =>java -jar htmlconv1_3.jar -template extend.tpl* index.html
Java(TM) Plug-in HTML Converter
Applet Conversion September 16, 2000 5:10:47 PM EDT
/home/billyh/plugin/index.html Processing...Done Applets Found: 1
All Done Files Processed: 1 Applets Found: 1
william.harnois@East 2000-10-06
(this has been added from bug 4313600)
6) HTMLConverter always looks in its template/ subdirectory for template files.
It
doesn't accept relative (to current working directory) or absolute pathnames,
even ./mytemp.tpl, `pwd`/mytemp.tpl or ../../../../../../`pwd`/mytempl.tpl
tricks don't work.
Example(not working):
tirpitz 80 =>java -jar htmlconv1_3.jar -template /home/billyh/extend.tpl* index.html
Using default template file. Specified template file does not exist: /home/billyh/extend.tpl
Java(TM) Plug-in HTML Converter
Applet Conversion September 16, 2000 5:00:21 PM EDT
/home/billyh/plugin/index.html Processing...Done Applets Found: 1
All Done Files Processed: 1 Applets Found: 1
tirpitz 81 => ls -l /home/billyh/extend.tpl*
-rwxr-xr-x 1 billyh 20 1165 Sep 16 16:41 /home/billyh/extend.tpl*
Example(working):
tirpitz 87 =>ls
converter.props extend.tpl* index.html
convertlog.txt htmlconv1_3.jar t.html
tirpitz 88 =>java -jar htmlconv1_3.jar -template extend.tpl* index.html
Java(TM) Plug-in HTML Converter
Applet Conversion September 16, 2000 5:10:47 PM EDT
/home/billyh/plugin/index.html Processing...Done Applets Found: 1
All Done Files Processed: 1 Applets Found: 1
william.harnois@East 2000-10-06
(this has been added from bug 4313600)
6) HTMLConverter always looks in its template/ subdirectory for template files.
It
doesn't accept relative (to current working directory) or absolute pathnames,
even ./mytemp.tpl, `pwd`/mytemp.tpl or ../../../../../../`pwd`/mytempl.tpl
tricks don't work.
- backported by
-
JDK-2037065 can't manually enter in template path for HTMLConverter
-
- Resolved
-