git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/wps@154919 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
d564ba605e
commit
2b4cb4818b
|
@ -144,9 +144,11 @@ public final class AlgorithmUpdater {
|
|||
try{
|
||||
String realJarName =filename.getFileName().toString().replaceFirst("_interface", "");
|
||||
log.debug("real jar name is {} ",realJarName);
|
||||
if (dir.resolve(realJarName).toFile().exists()){
|
||||
realjarURL = dir.resolve(realJarName).toFile().toURI().toURL();
|
||||
log.debug("real jar url is {} ",realjarURL);
|
||||
method.invoke(loader, new URL[] {realjarURL});
|
||||
}
|
||||
}catch(Throwable ipe){
|
||||
log.warn("only {} have been found",filename, ipe);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue