Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 44689 invoked from network); 2 Dec 2004 08:23:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Dec 2004 08:23:57 -0000 Received: (qmail 96923 invoked by uid 500); 2 Dec 2004 08:23:42 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 96876 invoked by uid 500); 2 Dec 2004 08:23:42 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 96861 invoked by uid 99); 2 Dec 2004 08:23:41 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from 12-107-29-10.sapient.com (HELO ims2.sapient.com) (12.107.29.10) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 02 Dec 2004 00:23:40 -0800 Received: from munsmsx01.sapient.com ([10.130.1.7]) by ims2.sapient.com with Microsoft SMTPSVC(6.0.3790.80); Thu, 2 Dec 2004 00:23:28 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Release log file lock from Date: Thu, 2 Dec 2004 09:23:25 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Release log file lock from Thread-Index: AcTYQ3R5jgEI13e1Qy6DCd0hGO3uSAABBF4g From: "Robert Soesemann" To: "Ant Users List" X-OriginalArrivalTime: 02 Dec 2004 08:23:29.0015 (UTC) FILETIME=[33B7E070:01C4D848] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Here is a snippet of my code. Maybe its because I am not only moving it, but also changing its content. I'm getting the error: ---------------------- BUILD FAILED: D:\...\build.xml:190: IOException in D:\..\log.tmp - java.io.IOException:Failed to delete D:\..\log.tmp while trying to rename D:\..\rep2008241113.tmp Snippet: -------- =09 =09 =20 =09 =09 Any ideas? -----Original Message----- From: Ivan Ivanov [mailto:rambiusparkisanius@yahoo.com]=20 Sent: Donnerstag, 2. Dezember 2004 08:49 To: Ant Users List Subject: Re: Release log file lock from The follwoinf script works in my environment (Fedora Core 2 Linux): Ivan --- Robert Soesemann wrote: > Hello, >=20 > In my build script I use the task to echo > errors to a log file. > At the end of my script i want to perform some > operations (replace, > rename) on that file. >=20 > But this does not work, as ant hold a lock on that > file the whole time. > How can I release that? >=20 > Regards, >=20 > R. >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: > user-unsubscribe@ant.apache.org > For additional commands, e-mail: > user-help@ant.apache.org >=20 >=20 =09 __________________________________=20 Do you Yahoo!?=20 All your favorites on one personal page - Try My Yahoo! http://my.yahoo.com=20 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org