There should probably be additional methods in Utilities to explicitly check for
operating systems with case-insensitive filenames. isWindows() is called in
several places (e.g. org.openide.filesystems.*) to determine special behavior
that is affected by this characteristic. But if other OSs with the same
characteristic (OS/2, VMS, ...) are ever to be supported, this will not be
Add something like Utilities.isCaseSensitiveFileSystem () - or find out better
Version: 'Dev' -> 3.2
Target milestone -> 3.3
ENHANCEMENT for NB(OpenAPIs) 3.4 or NB 4.0
Actually, adopting a suggestion from Evan:
- have a mapping somewhere in a util package from arbitrary names to
values (probably boolean values, thus "features")
- all such platform-specific hacks modified to check for a feature,
not a specific OS etc.
- the util package initially hardcodes a list of features computed
according to OS name, environment vars, etc.; eventually maybe this
could be driven by a config file for greatest flexibility
Target milestone -> 3.3.1.
Well, the method should be fileystems package. this is just filesystem
related stuff and especially LocalFileSystem related... I suggest
FileUtil.isCaseSensitive () and a property in LocalFileSystem to
change the behaviour (because even on linux I can use vfat).
Set target milestone to TBD
Reassigning to new module owner jskrivanek.