From 6e3346c0194c2ab4dc488074d10aa575a0d1b25e Mon Sep 17 00:00:00 2001 From: "Natalia.Ukhorskaya" Date: Thu, 5 Jul 2012 19:45:11 +0400 Subject: [PATCH] Android module: revert 20e936f8f65dadb1290595e4e746d7a15d05a73a --- .../jet/compiler/run/PermissionManager.java | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/compiler/android-tests/src/org/jetbrains/jet/compiler/run/PermissionManager.java b/compiler/android-tests/src/org/jetbrains/jet/compiler/run/PermissionManager.java index 8a7748d0cc0..bc03c38aec7 100644 --- a/compiler/android-tests/src/org/jetbrains/jet/compiler/run/PermissionManager.java +++ b/compiler/android-tests/src/org/jetbrains/jet/compiler/run/PermissionManager.java @@ -19,7 +19,6 @@ package org.jetbrains.jet.compiler.run; import com.intellij.execution.configurations.GeneralCommandLine; import com.intellij.openapi.util.SystemInfo; import org.jetbrains.jet.compiler.PathManager; -import org.jetbrains.jet.compiler.run.result.RunResult; /** * @author Natalia.Ukhorskaya @@ -41,18 +40,6 @@ public class PermissionManager { RunUtils.execute(generateChmodCmd(pathManager.getToolsFolderInAndroidSdk() + "/zipalign")); RunUtils.execute(generateChmodCmd(pathManager.getAntBinDirectory() + "/ant")); } - else { - GeneralCommandLine commandLine = new GeneralCommandLine(); - commandLine.setExePath("cmd"); - commandLine.addParameter("/c"); - commandLine.addParameter("mklink"); - commandLine.addParameter("C:\\WINDOWS\\system32\\config\\systemprofile\\.android"); - commandLine.addParameter("D:\\.android"); - RunResult runResult = RunUtils.execute(commandLine); - if (!runResult.getStatus()) { - throw new RuntimeException(runResult.getOutput()); - } - } } private static GeneralCommandLine generateChmodCmd(String path) {