]> source.dussan.org Git - aspectj.git/commitdiff
try N drive before C to keep the damn temp files orf my SSD
authoraclement <aclement>
Tue, 15 Sep 2009 16:40:45 +0000 (16:40 +0000)
committeraclement <aclement>
Tue, 15 Sep 2009 16:40:45 +0000 (16:40 +0000)
org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/Ajc.java

index 474e56027a58a7fbfecf2fa94fe3fb3b0759adbe..c6a5dfe11b1fc6d33afbdd5aafbf269c553f644f 100644 (file)
@@ -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");