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

jar files should be uncrunched directly into dest directory for jre installer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.4.0
    • install
    • None
    • beta3
    • generic
    • generic
    • Not verified

      Currently our jre installer uses the uncrunch program to uncrunch .out files into large .jar files. The .jar file is uncrunched into a temp directory, and then copied over to the destination directory. The reason for this is because the uninstaller can log the copying over of the jar file from the temp file, but it can't log the creation of the jar file through the separate process of uncrunch.exe. The problem is that the copying over of these large files can take a long time on slow machines, making the installation slower. Also, for the AOL Compuserve Installer, there is a long pause between calls to the progress dll when copying these large jar files.

      What we can do is create dummy .jar files with the touch command and let the installer install them. We can then temporarily disable the uninstall logging and remove the dummy .jar files. Then we enable the logging and call the uncrunch function in a way that will make the output go directly into the destination directory. This way we don't have to copy the jar file over after uncrunching, and the uninstaller will still uninstall the .jar files.
      ###@###.### 2001-09-12

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: