Peter
11/19/2022, 7:50 AMaltavir
11/19/2022, 7:58 AMaltavir
11/19/2022, 7:59 AMaltavir
11/19/2022, 7:59 AMaltavir
11/19/2022, 8:01 AMaltavir
11/19/2022, 8:03 AMPeter
11/19/2022, 8:03 AMPeter
11/19/2022, 8:05 AMaltavir
11/19/2022, 8:06 AMaltavir
11/19/2022, 8:07 AMurl
method referencePeter
11/19/2022, 8:07 AMPeter
11/19/2022, 1:39 PMprivate fun checkClassPath(classPath: String) {
if (javaClass.getResource(classPath) == null) {
Logger.getLogger("JupyterIntegration").warning("A resource with classpath '$classPath' not found.")
}
}
This always fails in my case and generates a warning (although the rest of the code still loads the resource, so only the check seems to be wrong).
Possible this is the wrong code to execute because I think it only should succeed if the resource is part of the ResourcesBuilder module, and typically it is not.altavir
11/19/2022, 5:11 PMPeter
11/19/2022, 6:03 PM