Fixing code

This commit is contained in:
luca.frosini 2023-06-22 15:22:58 +02:00
parent 2bfadb3a08
commit 117905ff7e
1 changed files with 2 additions and 1 deletions

View File

@ -105,7 +105,8 @@ public class FacetBasedISConfigurationProxy extends ISConfigurationProxy<SimpleF
protected static File getFile(String directoryName, String filename) throws Exception {
URL directoryURL = FacetBasedISConfigurationProxy.class.getClassLoader().getResource(directoryName);
File directory = new File(directoryURL.toURI());
// File directory = new File(directoryURL.toURI());
File directory = new File(directoryURL.getPath());
return new File(directory, filename);
}