Francesco Mangiacrapa 6 years ago
parent efdf0cff7b
commit 73ca86b0ee

@ -57,8 +57,10 @@ public class WsThreddsWidgetViewManager {
public void cancelMonitor(WsFolder folder) {
try {
MonitorFolderSyncStatusView monitor = cancelScheduler(folder);
if(monitor!=null)
if(monitor!=null) {
GWT.log("Removed monitor for folder: "+folder.getFolderId());
mapMonitor.remove(folder.getFolderId());
}
}catch (Exception e) {
GWT.log("Error on removing map monitor for id: "+folder.getFolderId());
}
@ -186,6 +188,7 @@ public class WsThreddsWidgetViewManager {
GWT.log("Sync completed cancel the polling: "+status);
cancelMonitor(folder);
}
}
}
});

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<Resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ID></ID>
<Type>Library</Type>
<Profile>
<Description>gCube ws-thredds-sync-widget is a widget to use and interact with ws-thredds facility in order to syncronize the Workspace folders with Thredds Reporitory folders</Description>
<Class>PortletsWidgets</Class>
<Name>ws-thredds-sync-widget</Name>
<Version>1.0.0</Version>
<Packages>
<Software>
<Name>ws-thredds-sync-widget</Name>
<Version>0.1.0-SNAPSHOT</Version>
<MavenCoordinates>
<groupId>org.gcube.portlets.widgets</groupId>
<artifactId>ws-thredds-sync-widget</artifactId>
<version>0.1.0-SNAPSHOT</version>
</MavenCoordinates>
<Files>
<File>ws-thredds-sync-widget-0.1.0-SNAPSHOT.jar</File>
</Files>
</Software>
</Packages>
</Profile>
</Resource>
Loading…
Cancel
Save