As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
String filePath = "alfresco/extension/myFile.xml"; URL url = getClass().getClassLoader().getResource(filePath); File myFile = new File(url.toURI().getPath());
System.getProperty("catalina.base")