From ant-dev-return-39640-qmlist-jakarta-archive-ant-dev=jakarta.apache.org@jakarta.apache.org Mon Nov 18 14:45:32 2002 Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 89121 invoked from network); 18 Nov 2002 14:45:31 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 18 Nov 2002 14:45:31 -0000 Received: (qmail 15816 invoked by uid 97); 18 Nov 2002 14:46:28 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 15734 invoked by uid 97); 18 Nov 2002 14:46:26 -0000 Mailing-List: contact ant-dev-help@jakarta.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 ant-dev@jakarta.apache.org Received: (qmail 15614 invoked by uid 98); 18 Nov 2002 14:46:23 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) X-Authentication-Warning: bodewig.bost.de: bodewig set sender to bodewig@apache.org using -f To: ant-dev@jakarta.apache.org Subject: Re: cvs commit: jakarta-ant/src/testcases/org/apache/tools/ant/util FileUtilsTest.java References: <20021118143153.29798.qmail@icarus.apache.org> From: Stefan Bodewig Date: 18 Nov 2002 15:45:15 +0100 In-Reply-To: <20021118143153.29798.qmail@icarus.apache.org> Message-ID: Lines: 17 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Military Intelligence) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N (1) I haven't tested it on Windows (2) Some parts are hacky (catching an exception from normalize to avoid redundant isAbsolute checks). (3) It is incomplete (doesn't deal with non-ASCII, doesn't deal with malformed escapes like %1Z in fromURI). (4) It is in no way optimized for performance. (5) May be a good place to hook in some reflection and take advantage of Java 1.4's File.toURI and File(URI) API. Reasons 1 - 3 are stopping me from merging it to the 1.5 branch. There may be more good reasons to not do it. Stefan -- To unsubscribe, e-mail: For additional commands, e-mail: