make/conf/jib-profiles.js
changeset 47365 92f08900cb3c
parent 47364 6b3389375f31
child 47433 6331ad007664
child 47671 4dd1715f647f
equal deleted inserted replaced
47364:6b3389375f31 47365:92f08900cb3c
   379                 }
   379                 }
   380             }
   380             }
   381         };
   381         };
   382     };
   382     };
   383 
   383 
       
   384     common.boot_jdk_version = "9";
       
   385     common.boot_jdk_home = input.get("boot_jdk", "home_path") + "/jdk-"
       
   386         + common.boot_jdk_version
       
   387         + (input.build_os == "macosx" ? ".jdk/Contents/Home" : "");
       
   388 
   384     return common;
   389     return common;
   385 };
   390 };
   386 
   391 
   387 /**
   392 /**
   388  * Generates the profiles part of the configuration.
   393  * Generates the profiles part of the configuration.
  1006 
  1011 
  1007     var devkit_platform = (input.target_cpu == "x86"
  1012     var devkit_platform = (input.target_cpu == "x86"
  1008         ? input.target_os + "_x64"
  1013         ? input.target_os + "_x64"
  1009         : input.target_platform);
  1014         : input.target_platform);
  1010 
  1015 
  1011     var boot_jdk_version = "9";
       
  1012     var boot_jdk_home = input.get("boot_jdk", "home_path") + "/jdk-"
       
  1013         + boot_jdk_version
       
  1014         + (input.build_os == "macosx" ? ".jdk/Contents/Home" : "");
       
  1015     var boot_jdk_platform = (input.build_os == "macosx" ? "osx" : input.build_os)
  1016     var boot_jdk_platform = (input.build_os == "macosx" ? "osx" : input.build_os)
  1016         + "-" + input.build_cpu;
  1017         + "-" + input.build_cpu;
  1017 
  1018 
  1018     var dependencies = {
  1019     var dependencies = {
  1019 
  1020 
  1020         boot_jdk: {
  1021         boot_jdk: {
  1021             server: "jpg",
  1022             server: "jpg",
  1022             product: "jdk",
  1023             product: "jdk",
  1023             version: boot_jdk_version,
  1024             version: common.boot_jdk_version,
  1024             build_number: "181",
  1025             build_number: "181",
  1025             file: "bundles/" + boot_jdk_platform + "/jdk-" + boot_jdk_version + "_"
  1026             file: "bundles/" + boot_jdk_platform + "/jdk-" + common.boot_jdk_version + "_"
  1026                 + boot_jdk_platform + "_bin.tar.gz",
  1027                 + boot_jdk_platform + "_bin.tar.gz",
  1027             configure_args: "--with-boot-jdk=" + boot_jdk_home,
  1028             configure_args: "--with-boot-jdk=" + common.boot_jdk_home,
  1028             environment_path: boot_jdk_home + "/bin"
  1029             environment_path: common.boot_jdk_home + "/bin"
  1029         },
  1030         },
  1030 
  1031 
  1031         devkit: {
  1032         devkit: {
  1032             organization: common.organization,
  1033             organization: common.organization,
  1033             ext: "tar.gz",
  1034             ext: "tar.gz",