Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 80094 invoked from network); 23 Apr 2004 16:07:30 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 23 Apr 2004 16:07:30 -0000 Received: (qmail 32859 invoked by uid 500); 23 Apr 2004 16:07:23 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 32576 invoked by uid 500); 23 Apr 2004 16:07:21 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 32559 invoked from network); 23 Apr 2004 16:07:20 -0000 Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by daedalus.apache.org with SMTP; 23 Apr 2004 16:07:20 -0000 Received: (qmail 10569 invoked by uid 50); 23 Apr 2004 16:08:12 -0000 Date: 23 Apr 2004 16:08:12 -0000 Message-ID: <20040423160812.10568.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: dev@ant.apache.org Cc: Subject: DO NOT REPLY [Bug 28557] New: - JDependTask creates a log file that can't be deleted. X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=28557 JDependTask creates a log file that can't be deleted. Summary: JDependTask creates a log file that can't be deleted. Product: Ant Version: 1.6.1 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Optional Tasks AssignedTo: dev@ant.apache.org ReportedBy: badorek_jeffrey_w@cat.com I'm running a build proccess that creates JDependTask log files. If the task is **not** forked, the log files cannot be deleted. In the JDependTask source code, a FileWriter is created on line #461. This writer is never closed. Shouldn't it be close after "jdepend.analyze();" on line #552? --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org