ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@antbuild.com>
Subject Re: [vms] case sensitivity and <fileset>s
Date Fri, 08 Aug 2003 11:55:54 GMT
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" <knut.wannheden@paranor.ch>
To: "'Ant Developers List'" <dev@ant.apache.org>
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message