Have you considered fixing a code? From your description, you seem to have a lot of links to a file / resource that are case-insensitive (so to speak, incorrect) names in the code ... This can be done either by adapting the file names to the way they are mentioned in the code ( only if there are some consequences in the code, fg all file names are lowercase) or adapt the constants in the code to match the file names.
Any wrappers for the java.io classes will require you to list all the files / directories anywhere in the path and try to find a name that matches the path. However, in the U ** x system, you can have both the resources directories and resources , etc., And which one would you choose for the path "RESOURCES / IMAGES / MYIMAGE.PNG"? In addition, you will have performance issues for I / O operations.
I once “fixed” such a project, but soon it was very small, but it was very unpleasant. For my luck, some operations can be written in a script, for example, changing all the constants in one file on the lower and lower cases of all image file names, etc.
source share