Knut,
is it then impossible in a Java program to be sure what the exact case
spelling of a file in OpenVMS is ?
Antoine
----- Original Message -----
From: "Wannheden, Knut" <[EMAIL PROTECTED]>
To: "'Ant Developers List'" <[EMAIL PROTECTED]>
Sent: Friday, August 08, 2003 12:20 PM
Subject: RE: [vms] case sensitivity and <fileset>s


> Stefan,
>
> >
> > > With the new ODS-5 file system this is a little bit different; I'd
> > > call it "partially case sensitive".
> >
> > Your description sounds much like Windows NTFS or MacOS X with HFS+.
> >
>
> I wasn't aware of this.
>
> > > So one solution would be to leave this problem with the buildfile
> > > editor,
> >
> > We do so for Mac and Windows users, why should we treat OpenVMS
> > differently here.
> >
>
> There is just the problem with File#getCanonicalPath() on OpenVMS.  It
> doesn't return a unique path unfortunately, it seems to return the same as
> File#getAbsolutePath() does.  And this is problematic, because case
> sensitive patterns don't really work then.
>
> Example:  I have a file FOO.TXT on the file system and select it with
> <fileset includes="foo.txt"/>.  It will get selected because
>
> new File("foo.txt").getCanonicalPath()
>
> returns "foo.txt" instead of "FOO.TXT".  This is obviously a limitation of
> the JVM, but I don't think it will be fixed anytime soon (after talking to
> the developers).
>
> So I suppose the best thing to do is to mention this limitation in the Ant
> manual.
>
> --
> knut
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to