Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 74625 invoked from network); 10 Jun 2010 09:29:32 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Jun 2010 09:29:32 -0000 Received: (qmail 34205 invoked by uid 500); 10 Jun 2010 09:29:31 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 32941 invoked by uid 500); 10 Jun 2010 09:29:29 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 32928 invoked by uid 99); 10 Jun 2010 09:29:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jun 2010 09:29:29 +0000 X-ASF-Spam-Status: No, hits=-1633.3 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jun 2010 09:29:28 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 9F3C223889F1; Thu, 10 Jun 2010 09:28:46 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r953261 - in /ant/core/trunk: WHATSNEW src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java Date: Thu, 10 Jun 2010 09:28:46 -0000 To: notifications@ant.apache.org From: bodewig@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100610092846.9F3C223889F1@eris.apache.org> Author: bodewig Date: Thu Jun 10 09:28:46 2010 New Revision: 953261 URL: http://svn.apache.org/viewvc?rev=953261&view=rev Log: provide file name when you fail to delete the temporary file. PR 49419 Modified: ant/core/trunk/WHATSNEW ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java Modified: ant/core/trunk/WHATSNEW URL: http://svn.apache.org/viewvc/ant/core/trunk/WHATSNEW?rev=953261&r1=953260&r2=953261&view=diff ============================================================================== --- ant/core/trunk/WHATSNEW (original) +++ ant/core/trunk/WHATSNEW Thu Jun 10 09:28:46 2010 @@ -41,6 +41,10 @@ Fixed bugs: certain circumstances. Bugzilla Report 49296. + * will now produce better diagnostics when it fails to delete + a temporary file. + Bugzilla Report 49419. + Other changes: -------------- Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java?rev=953261&r1=953260&r2=953261&view=diff ============================================================================== --- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java (original) +++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java Thu Jun 10 09:28:46 2010 @@ -1055,7 +1055,8 @@ public class JUnitTask extends Task { if (!FILE_UTILS.tryHardToDelete(propsFile)) { throw new BuildException("Could not delete temporary " - + "properties file."); + + "properties file '" + + propsFile.getAbsolutePath() + "'."); } }