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

HtmlConverter should exit with a non-zero return code in case of invocation error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • deploy
    • None
    • b42
    • generic
    • generic

      My build currently has HtmlConverter failures, the original
      cause of which is unknown. My build log contains this:

      /usr/bin/sed 's/VERSION/1.6.0/g' /u/otto/ws/int/control/make/../../j2se/src/share/demo/applets.html > /u/otto/ws/int/control/build/solaris-sparc/demo/applets.html; \
      /usr/bin/cp /u/otto/ws/int/control/build/solaris-sparc/demo/applets.html /u/otto/ws/int/control/build/solaris-sparc/demo/plugin/applets.html; \
      /usr/bin/mkdir -p /u/otto/ws/int/control/build/solaris-sparc/j2sdk-image/demo

      Usage: HtmlConverter [-option1 value1 [-option2 value2 [...]]] [-simulate] [filespecs]

      where options include:

          -source: Path to get original files. Default: <userdir>
          -source -: read converting file from the standard input
          -dest: Path to write converted files. Default: <userdir>
          -dest -: write converted file to the standard output
          -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: false
          -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)


      However, the build continues. There are two bugs here.
      This bug is that the build should fail, instead of continuing
      after this invocation failure. Makefiles depend on this sort
      of discipline.



      ###@###.### 2005-03-30 02:54:21 GMT

            duke J. Duke
            martin Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: