src/jdk.packager/macosx/classes/jdk/packager/internal/mac/MacAppBundler.java
branchJDK-8200758-branch
changeset 56989 0f19096663d1
parent 56982 e094d5483bd6
equal deleted inserted replaced
56988:3cb9af04c779 56989:0f19096663d1
   441         }
   441         }
   442         return rootDirectory;
   442         return rootDirectory;
   443     }
   443     }
   444 
   444 
   445     public void cleanupConfigFiles(Map<String, ? super Object> params) {
   445     public void cleanupConfigFiles(Map<String, ? super Object> params) {
   446         //Since building the app can be bypassed, make sure configRoot was set
   446         if (CONFIG_ROOT.fetchFrom(params) != null) {
   447         if (CONFIG_ROOT.fetchFrom(params) != null
       
   448                 && !StandardBundlerParam.ECHO_MODE.fetchFrom(params)) {
       
   449             getConfig_Icon(params).delete();
   447             getConfig_Icon(params).delete();
   450             getConfig_InfoPlist(params).delete();
   448             getConfig_InfoPlist(params).delete();
   451         }
   449         }
   452     }
   450     }
   453 
   451 
   508     public File execute(Map<String, ? super Object> params,
   506     public File execute(Map<String, ? super Object> params,
   509             File outputParentDir) {
   507             File outputParentDir) {
   510         return doBundle(params, outputParentDir, false);
   508         return doBundle(params, outputParentDir, false);
   511     }
   509     }
   512 
   510 
   513     @Override    
   511     @Override
   514     public boolean supported() {
   512     public boolean supported() {
   515         return Platform.getPlatform() == Platform.MAC;
   513         return Platform.getPlatform() == Platform.MAC;
   516     }
   514     }
   517 
   515 
   518 }
   516 }