From f78041b18d297d23b5a7f1ada3d8226ad1c45fa3 Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 15 Sep 2009 16:40:45 +0000 Subject: try N drive before C to keep the damn temp files orf my SSD --- org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/Ajc.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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"); -- cgit v1.2.3