ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r448050 - /ant/core/trunk/src/testcases/org/apache/tools/ant/taskdefs/ExecTaskTest.java
Date Wed, 20 Sep 2006 03:52:29 GMT
Author: antoine
Date: Tue Sep 19 20:52:28 2006
New Revision: 448050

URL: http://svn.apache.org/viewvc?view=rev&rev=448050
Log:
try to get rid of spawnnnnn.log

Modified:
    ant/core/trunk/src/testcases/org/apache/tools/ant/taskdefs/ExecTaskTest.java

Modified: ant/core/trunk/src/testcases/org/apache/tools/ant/taskdefs/ExecTaskTest.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/testcases/org/apache/tools/ant/taskdefs/ExecTaskTest.java?view=diff&rev=448050&r1=448049&r2=448050
==============================================================================
--- ant/core/trunk/src/testcases/org/apache/tools/ant/taskdefs/ExecTaskTest.java (original)
+++ ant/core/trunk/src/testcases/org/apache/tools/ant/taskdefs/ExecTaskTest.java Tue Sep 19
20:52:28 2006
@@ -55,10 +55,10 @@
     }
 
     public void tearDown() {
-        executeTarget("cleanup");
         if (logFile != null && logFile.exists()) {
-            logFile.delete();
+            getProject().setProperty("logFile", logFile.getAbsolutePath());
         }
+        executeTarget("cleanup");
     }
 
     public void testNoRedirect() {



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message