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

Filespecs must be quoted

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.3.1
    • 1.3.1
    • deploy
    • None
    • rc1
    • sparc
    • solaris_8
    • Verified

        Platform: Unix
        Test O/S: SunOS 5.8

        Steps to reproduce:

        1) Install the JDK 1.3.1 b18 (ex: [your home directory]/j2sdk1_3_1) and set JAVA_HOME to this JDK
        2) Change 777 permission to all the applets under
        [your home directory]/j2sdk1_3_1/demo/applets directory.
        3) Use HTMLConverter to convert Animator applets:

        %java -jar /net/altair.east/terra/space2/plugin/jmelvin/ladybird/ext/plugin/tmp/solaris/sparc/converter/htmlconv1_3_1.jar -source
        [your home directory]j2sdk1_3_1/demo/applets/Animator "*.html"

        Applets should be converted properly. However if we leave OUT the quote, then there is no applet found.
        In short, the filespecs must be quoted. But the instruction does not mention this. It won't work on Unix if users follow Filespecs in the instruction:

        hungn@systemtest:/home/hungn( 56 )% java -jar /net/altair.east/terra/space2/plugin/jmelvin/ladybird/ext/plugin/tmp/solaris/sparc/converter/htmlconv1_3_1.jar HTMLConverter -help

        Usage: java -jar htmlconv1_3_1.jar [-option1 value1 [-option2 value2 [...]]] [-simulate] [filespecs]

        ------------------------------------------------------------------------
        Options:

        -source: Path to get original files. Default: <userdir>
        -dest: Path to write converted files. Default: <userdir>
        -backup: Path to write backup files. Default 'dirname <directory_of_html_file>'/'basename <directory_of_html_file>'_BAK
        -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.
        -gui: Display the graphical user interface for the converter.
        Filespecs: Space delimited list of file specs, * wildcard. (*.html *.htm)




              jmelvin James Melvin (Inactive)
              hungnguy Hung Nguyen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: