Revert using temp directory for building debugger application by default

(cherry picked from commit f131be0)
This commit is contained in:
Nikolay Krasko
2016-09-26 15:53:37 +03:00
committed by Nikolay Krasko
parent b6e1327e89
commit dd42420a1e
@@ -68,7 +68,7 @@ public abstract class KotlinDebuggerTestCase extends DescriptorTestCase {
private static boolean IS_TINY_APP_COMPILED = false;
// Delete LOCAL_CACHE_DIR to invalidate caches
private static final boolean LOCAL_CACHE_REUSE = true;
private static final boolean LOCAL_CACHE_REUSE = false;
private static final File LOCAL_CACHE_DIR = new File("out/debuggerTinyApp");
private static final File LOCAL_CACHE_JAR_DIR = new File(LOCAL_CACHE_DIR, "jar");
@@ -176,6 +176,7 @@ public abstract class KotlinDebuggerTestCase extends DescriptorTestCase {
File jarDir;
try {
//noinspection ConstantConditions
jarDir = LOCAL_CACHE_REUSE ? LOCAL_CACHE_DIR : KotlinTestUtils.tmpDir("debuggerCustomLibrary");
}
catch (IOException e) {