src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxAppBundler.java
branchJDK-8200758-branch
changeset 57150 fa68c2ab636d
parent 57140 3dcb33ce7ced
child 57256 d7c27451f759
equal deleted inserted replaced
57141:e7ba8c89abe7 57150:fa68c2ab636d
   129         return "app/" + APP_NAME.fetchFrom(p) +".cfg";
   129         return "app/" + APP_NAME.fetchFrom(p) +".cfg";
   130     }
   130     }
   131 
   131 
   132     File doBundle(Map<String, ? super Object> p, File outputDirectory,
   132     File doBundle(Map<String, ? super Object> p, File outputDirectory,
   133             boolean dependentTask) throws PackagerException {
   133             boolean dependentTask) throws PackagerException {
   134         if (Arguments.CREATE_JRE_INSTALLER.fetchFrom(p)) {
   134         if (RUNTIME_INSTALLER.fetchFrom(p)) {
   135             return doJreBundle(p, outputDirectory, dependentTask);
   135             return doJreBundle(p, outputDirectory, dependentTask);
   136         } else {
   136         } else {
   137             return doAppBundle(p, outputDirectory, dependentTask);
   137             return doAppBundle(p, outputDirectory, dependentTask);
   138         }
   138         }
   139     }
   139     }
   226             File outputParentDir) throws PackagerException {
   226             File outputParentDir) throws PackagerException {
   227         return doBundle(params, outputParentDir, false);
   227         return doBundle(params, outputParentDir, false);
   228     }
   228     }
   229 
   229 
   230     @Override
   230     @Override
   231     public boolean supported() {
   231     public boolean supported(boolean runtimeInstaller) {
   232         return (Platform.getPlatform() == Platform.LINUX);
   232         return (Platform.getPlatform() == Platform.LINUX);
   233     }
   233     }
   234 }
   234 }