Return-Path: Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 43343 invoked by uid 500); 8 Aug 2003 11:30:58 -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 43267 invoked from network); 8 Aug 2003 11:30:57 -0000 Received: from mail.paranor.ch (HELO nts?par1.paranor.ch) (195.65.4.180) by daedalus.apache.org with SMTP; 8 Aug 2003 11:30:57 -0000 Received: by nts_par1.paranor.ch with Internet Mail Service (5.5.2448.0) id <3SL6C3D6>; Fri, 8 Aug 2003 12:45:26 +0200 Message-ID: <36E996B162DAD111B6AF0000F879AD1AB81DE7@nts_par1.paranor.ch> From: "Wannheden, Knut" To: 'Ant Developers List' Subject: RE: [vms] case sensitivity and s Date: Fri, 8 Aug 2003 12:45:25 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C35D9A.2CBD043C" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C35D9A.2CBD043C Content-Type: text/plain; charset="iso-8859-1" Antoine, > is it then impossible in a Java program to be sure what the exact case > spelling of a file in OpenVMS is ? More or less. If you do a File#listFiles() you will get entries with the correct case, but only for this last segment of the path. All other segments will reflect the same case as the path of the File object you invoked the method on, which of course doesn't necessarily reflect the correct case. And this is probably a little bit different from how Java works on OSX with HFS+ or Win32 with NTFS. But it's not an easy problem. On OpenVMS you also have to deal with things like rooted logicals and directories and files with the same name... -- knut ------_=_NextPart_001_01C35D9A.2CBD043C--