[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[stellation-res] Windows problem -- How does Eclipse deal with this?
|
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?
dave
--
Dave Shields, IBM Research, shields@xxxxxxxxxxxxxx.