Ejemplo n.º 1
0
 /**
  * Ensure that the dart VM is executable. If it is not, make it executable and log that it was
  * necessary for us to do so.
  */
 @DartBlockBody({})
 private void ensureVmIsExecutable() {
   File dartVm = getVmExecutable();
   if (dartVm != null) {
     if (!dartVm.canExecute()) {
       FileUtilities.makeExecutable(dartVm);
       AnalysisEngine.getInstance().getLogger().logError(dartVm.getPath() + " was not executable");
     }
   }
 }