From: aclement Date: Tue, 15 Sep 2009 16:40:45 +0000 (+0000) Subject: try N drive before C to keep the damn temp files orf my SSD X-Git-Tag: V1_6_6~39 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f78041b18d297d23b5a7f1ada3d8226ad1c45fa3;p=aspectj.git try N drive before C to keep the damn temp files orf my SSD --- diff --git a/org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/Ajc.java b/org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/Ajc.java index 474e56027..c6a5dfe11 100644 --- a/org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/Ajc.java +++ b/org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/Ajc.java @@ -314,9 +314,12 @@ public class Ajc { // AMC - I did this rather than use the JDK default as I hate having to go look // in c:\documents and settings\......... for the results of a failed test. if (os.startsWith("Windows")) { - tempDir = new File("C:\\temp"); + tempDir = new File("N:\\temp"); if (!tempDir.exists()) { - tempDir.mkdir(); + tempDir = new File("C:\\temp"); + if (!tempDir.exists()) { + tempDir.mkdir(); + } } } else { tempDir = new File("/tmp");