From 48081764ee68d4c2cc431e1f8445b15c116102f3 Mon Sep 17 00:00:00 2001 From: francesco Date: Tue, 13 Oct 2020 12:38:21 +0200 Subject: [PATCH] fixing portlet configurations --- .classpath | 1 - .../com.gwtplugins.gdt.eclipse.core.prefs | 2 +- .settings/org.eclipse.wst.common.component | 28 +++++++++++++------ ...java => GeoPortalDataEntryAppPortlet.java} | 4 +-- .../GeoPortalDataEntryApp.gwt.xml | 4 +++ ... => GeoPortalDataEntryAppPortlet_view.jsp} | 0 src/main/webapp/WEB-INF/liferay-display.xml | 2 +- .../WEB-INF/liferay-plugin-package.properties | 2 +- src/main/webapp/WEB-INF/liferay-portlet.xml | 2 +- src/main/webapp/WEB-INF/portlet.xml | 6 ++-- 10 files changed, 32 insertions(+), 19 deletions(-) rename src/main/java/org/gcube/portlets/user/geoportaldataentry/portlet/{GeoPortalDataEntryApp.java => GeoPortalDataEntryAppPortlet.java} (91%) rename src/main/webapp/WEB-INF/jsp/{GeoPortalDataEntryApp_view.jsp => GeoPortalDataEntryAppPortlet_view.jsp} (100%) diff --git a/.classpath b/.classpath index 0ca36d1..215c1c9 100644 --- a/.classpath +++ b/.classpath @@ -27,7 +27,6 @@ - diff --git a/.settings/com.gwtplugins.gdt.eclipse.core.prefs b/.settings/com.gwtplugins.gdt.eclipse.core.prefs index 0fd92a7..3f6f7f3 100644 --- a/.settings/com.gwtplugins.gdt.eclipse.core.prefs +++ b/.settings/com.gwtplugins.gdt.eclipse.core.prefs @@ -1,5 +1,5 @@ eclipse.preferences.version=1 jarsExcludedFromWebInfLib= -lastWarOutDir=/home/francesco-mangiacrapa/git/geoportal-data-entry-app/target/geoportal-data-entry-app-1.0.0-SNAPSHOT +lastWarOutDir=/home/francesco/git/geoportal-data-entry-app/target/geoportal-data-entry-app-1.0.0-SNAPSHOT warSrcDir=src/main/webapp warSrcDirIsOutput=false diff --git a/.settings/org.eclipse.wst.common.component b/.settings/org.eclipse.wst.common.component index 7ba2034..6f1f647 100644 --- a/.settings/org.eclipse.wst.common.component +++ b/.settings/org.eclipse.wst.common.component @@ -1,32 +1,42 @@ - + + - + + - + + - + + - + + - + + uses - + + + - + + - + + diff --git a/src/main/java/org/gcube/portlets/user/geoportaldataentry/portlet/GeoPortalDataEntryApp.java b/src/main/java/org/gcube/portlets/user/geoportaldataentry/portlet/GeoPortalDataEntryAppPortlet.java similarity index 91% rename from src/main/java/org/gcube/portlets/user/geoportaldataentry/portlet/GeoPortalDataEntryApp.java rename to src/main/java/org/gcube/portlets/user/geoportaldataentry/portlet/GeoPortalDataEntryAppPortlet.java index 213b44d..b43af56 100644 --- a/src/main/java/org/gcube/portlets/user/geoportaldataentry/portlet/GeoPortalDataEntryApp.java +++ b/src/main/java/org/gcube/portlets/user/geoportaldataentry/portlet/GeoPortalDataEntryAppPortlet.java @@ -16,7 +16,7 @@ import javax.portlet.RenderResponse; * * Oct 8, 2020 */ -public class GeoPortalDataEntryApp extends GenericPortlet{ +public class GeoPortalDataEntryAppPortlet extends GenericPortlet{ /** * JSP folder name @@ -26,7 +26,7 @@ public class GeoPortalDataEntryApp extends GenericPortlet{ /** * */ - public static final String VIEW_JSP = JSP_FOLDER + "GeoPortalDataEntryApp_view.jsp"; + public static final String VIEW_JSP = JSP_FOLDER + "GeoPortalDataEntryAppPortlet_view.jsp"; /** * Do view. diff --git a/src/main/resources/org/gcube/portlets/user/geoportaldataentry/GeoPortalDataEntryApp.gwt.xml b/src/main/resources/org/gcube/portlets/user/geoportaldataentry/GeoPortalDataEntryApp.gwt.xml index da6f014..62c8534 100644 --- a/src/main/resources/org/gcube/portlets/user/geoportaldataentry/GeoPortalDataEntryApp.gwt.xml +++ b/src/main/resources/org/gcube/portlets/user/geoportaldataentry/GeoPortalDataEntryApp.gwt.xml @@ -8,6 +8,10 @@ + + + + diff --git a/src/main/webapp/WEB-INF/jsp/GeoPortalDataEntryApp_view.jsp b/src/main/webapp/WEB-INF/jsp/GeoPortalDataEntryAppPortlet_view.jsp similarity index 100% rename from src/main/webapp/WEB-INF/jsp/GeoPortalDataEntryApp_view.jsp rename to src/main/webapp/WEB-INF/jsp/GeoPortalDataEntryAppPortlet_view.jsp diff --git a/src/main/webapp/WEB-INF/liferay-display.xml b/src/main/webapp/WEB-INF/liferay-display.xml index b6c995a..7b86a61 100644 --- a/src/main/webapp/WEB-INF/liferay-display.xml +++ b/src/main/webapp/WEB-INF/liferay-display.xml @@ -1,5 +1,5 @@ - + \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/liferay-plugin-package.properties b/src/main/webapp/WEB-INF/liferay-plugin-package.properties index 62a126b..e717c8b 100644 --- a/src/main/webapp/WEB-INF/liferay-plugin-package.properties +++ b/src/main/webapp/WEB-INF/liferay-plugin-package.properties @@ -1,4 +1,4 @@ -name=GeoPortalDataEntryApp +name=GeoPortalDataEntryAppPortlet module-group-id=liferay module-incremental-version=2 tags= diff --git a/src/main/webapp/WEB-INF/liferay-portlet.xml b/src/main/webapp/WEB-INF/liferay-portlet.xml index 8c15f3a..5253710 100644 --- a/src/main/webapp/WEB-INF/liferay-portlet.xml +++ b/src/main/webapp/WEB-INF/liferay-portlet.xml @@ -3,7 +3,7 @@ - GeoPortalDataEntryApp + GeoPortalDataEntryAppPortlet false false false diff --git a/src/main/webapp/WEB-INF/portlet.xml b/src/main/webapp/WEB-INF/portlet.xml index f484464..e085ce6 100644 --- a/src/main/webapp/WEB-INF/portlet.xml +++ b/src/main/webapp/WEB-INF/portlet.xml @@ -2,9 +2,9 @@ GeoPortalDataEntryApp Portlet - GeoPortalDataEntryApp - GeoPortal Data Entry Portlet - org.gcube.portlets.user.geoportaldataentry.portlet.GeoPortalDataEntryApp + GeoPortalDataEntryAppPortlet + GeoPortal-DataEntry-Portlet + org.gcube.portlets.user.geoportaldataentry.portlet.GeoPortalDataEntryAppPortlet 0