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

Installshield bundles creation fails when MILESTONE != fcs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.1_03
    • 1.4.1_02
    • install
    • 03
    • x86
    • windows_nt
    • Not verified


       Installshield bundles creation fails when MILESTONE != fcs.

       Target 'bundles' gives the following error :-

      ==========================================================================
      gnumake international_bundle
      gnumake[3]: Entering directory `E:/localbuilds/141/j2se/make/ishield/jre'
      D:/mks62a/mksnt/cp.exe E:/localbuilds/141/j2se/make/ishield/jre/jre_international.ipr C:/TEMP/"Java Runtime Environment"/"Java Runtime Environment.ipr"
      D:/mks62a/mksnt/cp.exe E:/localbuilds/141/j2se/make/ishield/jre/default_international.mda C:/TEMP/"Java Runtime Environment"/media/default/default.mda
      D:/mks62a/mksnt/sed.exe -e "s/ALLPLUGINSIZE/"369262"/g" E:/localbuilds/141/control/build/windows-i586/tmp/ishield/jrei18nsize1 | D:/mks62a/mksnt/sed.exe -e "s/ENGLISHONLY/FALSE/g" > E:/localbuilds/141/control/build/windows-i586/tmp/ishield/jrei18nsize2
      D:/mks62a/mksnt/sed.exe -e "s/OJIPLUGINSIZE/"61545"/g" E:/localbuilds/141/control/build/windows-i586/tmp/ishield/jrei18nsize2 > E:/localbuilds/141/control/build/windows-i586/tmp/ishield/jrei18nsize3
      D:/mks62a/mksnt/sed.exe -e "s/JAVAJAVAW/"53428"/g" E:/localbuilds/141/control/build/windows-i586/tmp/ishield/jrei18nsize3 > E:/localbuilds/141/control/build/windows-i586/tmp/ishield/jrei18nsize4
      D:/mks62a/mksnt/cp.exe E:/localbuilds/141/control/build/windows-i586/tmp/ishield/jrei18nsize4 C:/TEMP/"Java Runtime Environment"/"Script Files"/setup.rul
      ( cd C:/TEMP/jre-image ; \
      D:/mks62a/mksnt/sh.exe E:/localbuilds/141/j2se/make/ishield/jre/list.sh | D:/mks62a/mksnt/sed.exe 's#/#\\#g' >> C:/TEMP/"Java Runtime Environment"/"File Groups"/"Program Executable Files.fgl" )
      D:/mks62a/mksnt/chmod.exe 777 C:/TEMP/jre-image/bin/msvcrt.dll
      D:/mks62a/mksnt/cat.exe E:/localbuilds/141/control/build/windows-i586/j2re-image/LICENSE | D:/mks62a/mksnt/fmt.exe -l 60 | D:/mks62a/mksnt/sed.exe 's/$//g' > C:/TEMP/"Java Runtime Environment"/"Setup Files"/"Compressed Files"/"0009-English"/"OS Independent"/license.txt
      D:/mks62a/mksnt/cp.exe E:/localbuilds/141/control/build/windows-i586/j2re-image/LICENSE_de C:/TEMP/"Java Runtime Environment"/"Setup Files"/"Compressed Files"/"0007-German"/"OS Independent"/license.txt
      cp: E:/localbuilds/141/control/build/windows-i586/j2re-image/LICENSE_de: The system cannot find the file specified.
      gnumake[3]: Leaving directory `E:/localbuilds/141/j2se/make/ishield/jre'
      gnumake[2]: Leaving directory `E:/localbuilds/141/j2se/make/ishield/jre'
      gnumake[3]: *** [copy_licenses] Error 1
      gnumake[2]: *** [doit] Error 2
      gnumake[1]: *** [bundle-jre] Error 2
      gnumake[1]: Leaving directory `E:/localbuilds/141/j2se/make'
      ==========================================================================
       

       This is because the 'images' target copies only the
       English license to the 'jre-image' directory when MILESTONE != fcs,
       but the 'copy_license' target in 'make/ishield/jre/Makefile' is
       trying to copy licenses of all locales irrespective of MILESTONE value.

       Fix :-
         'make/ishield/jre/Makefile'
         Assuming that EULA licenses need not be copied over
         during EA builds or pre-FCS builds,
         In target 'copy_license', non-English licenses should only
         be copied if MILESTONE=fcs.

         If pre-FCS builds also need JRE licenses for all locales,
         then we need to create pre-FCS licenses for all locales
         in 'src/share/doc/jre' directory e.g LICENSE_de.pre,
         LICENSE_fr.pre, .....

       

            billyh William Harnois
            lwudali Lalini Wudali (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: