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

can't manually enter in template path for HTMLConverter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 1.3.1
    • 1.3.1
    • deploy
    • None
    • ladybird
    • generic
    • solaris_2.6

        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.

              billyh William Harnois
              billyh William Harnois
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: