src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxAppBundler.java
branchJDK-8200758-branch
changeset 58301 e0efb29609bd
parent 58114 42df7de58e39
child 58417 67ffaf3a2b75
equal deleted inserted replaced
58172:bf06a1d3aef6 58301:e0efb29609bd
   108         imageBundleValidation(params);
   108         imageBundleValidation(params);
   109 
   109 
   110         return true;
   110         return true;
   111     }
   111     }
   112 
   112 
   113     // it is static for the sake of sharing with "installer" bundlers
       
   114     // that may skip calls to validate/bundle in this class!
       
   115     static File getRootDir(File outDir, Map<String, ? super Object> params) {
       
   116         return new File(outDir, APP_NAME.fetchFrom(params));
       
   117     }
       
   118 
       
   119     File doBundle(Map<String, ? super Object> params, File outputDirectory,
   113     File doBundle(Map<String, ? super Object> params, File outputDirectory,
   120             boolean dependentTask) throws PackagerException {
   114             boolean dependentTask) throws PackagerException {
   121         if (StandardBundlerParam.isRuntimeInstaller(params)) {
   115         if (StandardBundlerParam.isRuntimeInstaller(params)) {
   122             return PREDEFINED_RUNTIME_IMAGE.fetchFrom(params);
   116             return PREDEFINED_RUNTIME_IMAGE.fetchFrom(params);
   123         } else {
   117         } else {