From user-return-71993-apmail-ant-user-archive=ant.apache.org@ant.apache.org Wed Oct 26 21:39:10 2011 Return-Path: X-Original-To: apmail-ant-user-archive@www.apache.org Delivered-To: apmail-ant-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BE54A7663 for ; Wed, 26 Oct 2011 21:39:10 +0000 (UTC) Received: (qmail 42908 invoked by uid 500); 26 Oct 2011 21:39:10 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 42855 invoked by uid 500); 26 Oct 2011 21:39:09 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 42847 invoked by uid 99); 26 Oct 2011 21:39:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Oct 2011 21:39:09 +0000 X-ASF-Spam-Status: No, hits=1.0 required=5.0 tests=SPF_HELO_PASS,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of nicolas.lalevee@hibnet.org does not designate 216.86.168.182 as permitted sender) Received: from [216.86.168.182] (HELO mxout-07.mxes.net) (216.86.168.182) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Oct 2011 21:39:02 +0000 Received: from [192.168.1.21] (unknown [79.80.26.20]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 644E922E247 for ; Wed, 26 Oct 2011 17:38:40 -0400 (EDT) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: ProjectHelper2 fails to close input source after parsing imported document? From: =?iso-8859-1?Q?Nicolas_Lalev=E9e?= In-Reply-To: Date: Wed, 26 Oct 2011 23:38:38 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <61B10FFE-7820-4490-BDE0-E85CCE621FAE@hibnet.org> References: <87lis9xdts.fsf@v35516.1blu.de> To: "Ant Users List" X-Mailer: Apple Mail (2.1084) X-Virus-Checked: Checked by ClamAV on apache.org Le 26 oct. 2011 =E0 14:18, Steele, Richard a =E9crit : > On Tue, Oct 25, 2011 at 1:24 PM, Steele, Richard = wrote: >=20 >> On Tue, Oct 25, 2011 at 11:58 AM, Stefan Bodewig = wrote: >>=20 >> You could try using a different XML parser (Saxon's AElfred, maybe). >>>=20 >>=20 >> I might do that just to prove my analysis, but I was hoping to avoid = having >> to require everyone to use an extension to Ant. >>=20 >=20 > Sigh. Another yak shaving exercise. >=20 > I tried AElfred but it fails during the Ivy xml parsing because it's = not a > validating parser. If you're willing to, there a way to not validate ivy files. See "validate" there: = http://ant.apache.org/ivy/history/latest-milestone/settings/settings.html Nicolas > I also tried the latest version of Xerces because the > release notes specifically mention a fix for leaking file descriptors. = In > fact, some code appears in the newer version of XMLEntityManager to = close > the reader. I had to build locally with debug enabled (why do they = release > it without debug?) but unfortunately the new version doesn't fix my = problem. >=20 > I think I've convinced myself that there will always be some kind of = issue > trying to delete jars that were (once) needed from a classpath, = especially > on Windows, so I'm going to take a different approach: copy the = artifacts I > need to a temp dir and classload them from there and never clean them = up. >=20 > Thanks for your help and sympathy. :-) >=20 > Rich --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org