diff --git a/pom.xml b/pom.xml index 1044e81..89864d5 100644 --- a/pom.xml +++ b/pom.xml @@ -165,12 +165,35 @@ --> + + + + commons-io + commons-io + + + commons-fileupload + commons-fileupload + + + + com.googlecode.juniversalchardet + juniversalchardet + 1.0.3 + + + + + org.gcube.common + csv4j + [1.2.0-SNAPSHOT, 2.0.0-common) + org.gcube.portlets.user CSVImportWizardTD - 1.0.0-SNAPSHOT + [1.0.0-SNAPSHOT,2.0.0-SNAPSHOT) @@ -235,10 +258,9 @@ org.slf4j slf4j-api - - + + junit @@ -282,9 +304,9 @@ compile - + @@ -323,6 +345,4 @@ - - diff --git a/src/main/resources/org/gcube/portlets/user/td/TabularDataPortlet.gwt.xml b/src/main/resources/org/gcube/portlets/user/td/TabularDataPortlet.gwt.xml index d700929..ddbdef8 100644 --- a/src/main/resources/org/gcube/portlets/user/td/TabularDataPortlet.gwt.xml +++ b/src/main/resources/org/gcube/portlets/user/td/TabularDataPortlet.gwt.xml @@ -6,7 +6,8 @@ - + + @@ -26,7 +27,7 @@ - + diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml index 64b8f22..1c46cab 100644 --- a/src/main/webapp/WEB-INF/web.xml +++ b/src/main/webapp/WEB-INF/web.xml @@ -28,24 +28,18 @@ TDGXTService org.gcube.portlets.user.td.gxtservice.server.TDGXTServiceImpl - - - + - CSVImportService - org.gcube.portlets.user.csvimportwizardgxt3.server.CSVImportServiceImpl + CSVImportFileServlet + org.gcube.portlets.user.td.service.server.CSVImportFileServlet - + LocalUploadServlet - org.gcube.portlets.user.csvimportwizardgxt3.server.local.LocalUploadServlet - - - - CSVServlet - org.gcube.portlets.user.csvimportwizardgxt3.server.CSVServlet + org.gcube.portlets.user.td.service.server.LocalUploadServlet + @@ -65,10 +59,6 @@ org.gcube.portlets.user.workspace.server.DownloadServlet - - imageServlet - org.gcube.portlets.user.workspace.server.ImageServlet - gWTWorkspaceServiceImpl @@ -113,25 +103,22 @@ - - CSVImportService - /tabulardataportlet/CSVImportService + + CSVImportFileServlet + /tabulardataportlet/CSVImportFileServlet + + LocalUploadServlet + /tabulardataportlet/LocalUploadServlet + + + imageServlet /tabulardataportlet/ImageService - - LocalUploadServlet - /tabulardataportlet/LocalUploadServlet - - - - CSVServlet - /tabulardataportlet/CSVServlet - @@ -155,10 +142,6 @@ /tabulardataportlet/WorkspaceService - - imageServlet - /tabulardataportlet/ImageService - uploadServlet diff --git a/src/main/webapp/icon.png b/src/main/webapp/icon.png new file mode 100644 index 0000000..432066c Binary files /dev/null and b/src/main/webapp/icon.png differ diff --git a/src/test/java/org/gcube/portlets/user/td/TestManager.java b/src/test/java/org/gcube/portlets/user/td/TestManager.java deleted file mode 100644 index 8bb586c..0000000 --- a/src/test/java/org/gcube/portlets/user/td/TestManager.java +++ /dev/null @@ -1,27 +0,0 @@ -/** - * - */ -package org.gcube.portlets.user.td; - -import org.gcube.portlets.user.td.importer.server.TabularDataImporter; -import org.gcube.portlets.user.td.importer.server.TabularDataImporterManager; - -/** - * @author "Federico De Faveri defaveri@isti.cnr.it" - * - */ -public class TestManager { - - /** - * @param args - */ - public static void main(String[] args) { - TabularDataImporterManager importerManager = new TabularDataImporterManager(); - //importerManager.scanAvailableImporters(); - - System.out.println("Importers:"); - for (TabularDataImporter importer:importerManager.getImporters()) System.out.println(importer.getName()); - - } - -}