Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [stellation-res] Windows problem -- How does Eclipse deal with this?

I know that Windows won't let you create 'a' and 'A' in the same
directory -- it considers two names that differ only in case to be the
same.

Hello Dave,

Tuesday, August 20, 2002, 7:48:17 PM, you wrote:

> I doubt Stellation is the first program in the Eclipse universe to
> run into the problem of dealing with the case of file names in Windows.
> Philippe and I had to deal it with this in Jikes, the folks from OTI
> who wrote the Java compiler now used in Eclipse must have had to deal with 
> it also, and I suspect there are other Eclipse projects that have faced
> the same problem.

> Since Eclipse is all in Java, the code we need for Windows is most likely
> to be found in one or more of the Eclipse source trees.

> The key piece of code I'm looking for is some Java code that, given a Windows
> directory, returns a list of the paths of all the files contained in the directory
> and its subdirectores, with the paths showing the precise case used when the file
> was created.

> By the way, could someone running Java in Windows see if it's possible to
> create files 'a' and 'A' in the same directory, and, if so, report the values
> of file.getCanonicalPath() that are returned?

> If above doesn't work, anyone willing to volunteer to rummage about 
> the Eclipse source trees?



Back to the top