ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wannheden, Knut" <>
Subject RE: [vms] case sensitivity and <fileset>s
Date Fri, 08 Aug 2003 10:45:25 GMT

> 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...


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message