Stefan, Knut : the solution is then to bypass the optimization of directoryscanner (looking only at include patterns) in the case of open vms. It is still possible to call scandir(basedir, "", true) from scan instead of having a look first at the include patterns. This will guaranteed work. Cheers, Antoine ----- Original Message ----- From: "Wannheden, Knut" <[EMAIL PROTECTED]> To: "'Ant Developers List'" <[EMAIL PROTECTED]> Sent: Friday, August 08, 2003 12:45 PM Subject: RE: [vms] case sensitivity and <fileset>s
> 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 > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]