diff --git a/.classpath b/.classpath
index 7be9cd5..d0aa7ab 100644
--- a/.classpath
+++ b/.classpath
@@ -1,12 +1,12 @@
-
+
-
+
@@ -35,5 +35,5 @@
-
+
diff --git a/.settings/com.gwtplugins.gdt.eclipse.core.prefs b/.settings/com.gwtplugins.gdt.eclipse.core.prefs
index 1d3439d..407f428 100644
--- a/.settings/com.gwtplugins.gdt.eclipse.core.prefs
+++ b/.settings/com.gwtplugins.gdt.eclipse.core.prefs
@@ -1,6 +1,6 @@
eclipse.preferences.version=1
jarsExcludedFromWebInfLib=
-lastWarOutDir=/home/francescomangiacrapa/git/workspace-explorer-app/target/workspace-explorer-app-1.3.2-SNAPSHOT
+lastWarOutDir=/home/francescomangiacrapa/git/workspace-explorer-app/target/workspace-explorer-app-1.4.0
launchConfigExternalUrlPrefix=
warSrcDir=src/main/webapp
warSrcDirIsOutput=false
diff --git a/.settings/org.eclipse.wst.common.component b/.settings/org.eclipse.wst.common.component
index cfc9f1d..a964191 100644
--- a/.settings/org.eclipse.wst.common.component
+++ b/.settings/org.eclipse.wst.common.component
@@ -1,40 +1,55 @@
-
+
-
-
+
+
+
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
- uses
-
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
diff --git a/pom.xml b/pom.xml
index 515d561..9baae12 100644
--- a/pom.xml
+++ b/pom.xml
@@ -42,6 +42,19 @@
+
+
+
+ org.gcube.distribution
+ gcube-smartgears-bom
+ 2.1.0
+ pom
+ import
+
+
+
+
+
@@ -96,13 +109,11 @@
org.gcube.resources.discovery
ic-client
- [1.0.0,2.0.0-SNAPSHOT)
compile
org.gcube.core
common-scope-maps
- [1.0.2, 2.0.0-SNAPSHOT)
compile
@@ -121,11 +132,10 @@
[1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT)
compile
-
+
org.gcube.core
common-encryption
- [1.0.0, 2.0.0-SNAPSHOT)
compile
@@ -142,27 +152,16 @@
1.8
-
org.slf4j
slf4j-api
- 1.6.4
- compile
org.slf4j
slf4j-log4j12
1.6.4
- compile
-
-
-
-
- log4j
- log4j
- 1.2.16
- compile
+ test
diff --git a/src/main/java/org/gcube/portlets/user/workspaceexplorerapp/server/DownloadWorkspaceExplorerServlet.java b/src/main/java/org/gcube/portlets/user/workspaceexplorerapp/server/DownloadWorkspaceExplorerServlet.java
index f89dcbb..a3d6d7b 100644
--- a/src/main/java/org/gcube/portlets/user/workspaceexplorerapp/server/DownloadWorkspaceExplorerServlet.java
+++ b/src/main/java/org/gcube/portlets/user/workspaceexplorerapp/server/DownloadWorkspaceExplorerServlet.java
@@ -17,7 +17,6 @@ import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.io.IOUtils;
-import org.apache.log4j.Logger;
import org.gcube.common.storagehubwrapper.server.tohl.Workspace;
import org.gcube.common.storagehubwrapper.shared.tohl.WorkspaceFolder;
import org.gcube.common.storagehubwrapper.shared.tohl.WorkspaceItem;
@@ -33,6 +32,8 @@ import org.gcube.portlets.user.workspaceexplorerapp.server.workspace.AllowedMime
import org.gcube.portlets.user.workspaceexplorerapp.server.workspace.MimeTypeUtility;
import org.gcube.portlets.user.workspaceexplorerapp.server.workspace.WsInstanceUtil;
import org.gcube.portlets.user.workspaceexplorerapp.shared.HandlerResultMessage;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
/**
* The Class DownloadServlet.
@@ -48,7 +49,7 @@ public class DownloadWorkspaceExplorerServlet extends HttpServlet{
private static final long serialVersionUID = -8423345575690165644L;
- protected static Logger logger = Logger.getLogger(DownloadWorkspaceExplorerServlet.class);
+ protected static Logger logger = LoggerFactory.getLogger(DownloadWorkspaceExplorerServlet.class);
public static final String ERROR_ITEM_DOES_NOT_EXIST = "Item does not exist. It may have been deleted by another user";
public static final String REDIRECTONERROR = "redirectonerror";