diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs index 443e085..8ad6fb0 100644 --- a/.settings/org.eclipse.jdt.core.prefs +++ b/.settings/org.eclipse.jdt.core.prefs @@ -1,8 +1,8 @@ eclipse.preferences.version=1 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 -org.eclipse.jdt.core.compiler.compliance=1.7 +org.eclipse.jdt.core.compiler.compliance=1.5 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enumIdentifier=error org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning -org.eclipse.jdt.core.compiler.source=1.7 +org.eclipse.jdt.core.compiler.source=1.5 diff --git a/.settings/org.eclipse.wst.common.project.facet.core.xml b/.settings/org.eclipse.wst.common.project.facet.core.xml index 4045d87..7893960 100644 --- a/.settings/org.eclipse.wst.common.project.facet.core.xml +++ b/.settings/org.eclipse.wst.common.project.facet.core.xml @@ -3,5 +3,5 @@ - + diff --git a/pom.xml b/pom.xml index e0ba298..0163d77 100644 --- a/pom.xml +++ b/pom.xml @@ -91,7 +91,7 @@ com.extjs.gxt - gxt + gxt 2.2.5 @@ -283,8 +283,9 @@ - + + @@ -295,29 +296,19 @@ compile - + test - TabularDataPortlet.html ${webappDirectory} - ${webappDirectory} - - - - - - - - - + org.gcube.portlets.user.td.tabulardataportlet - + + org.apache.maven.plugins @@ -326,86 +317,125 @@ compile - - exploded - + ${webappDirectory} - - - - - - lib - - *.jar - - WEB-INF/lib - - - - + - + + org.apache.maven.plugins - maven-compiler-plugin - 2.3.2 + maven-surefire-plugin + 2.16 - 1.7 - 1.7 + false + + + + org.apache.maven.surefire + surefire-junit47 + 2.16 + + + + + + + + maven-resources-plugin + 2.6 + + + copy-profile + process-resources + + copy-resources + + + ${configDirectory} + + + ${templatesDirectory} + + profile.xml + + true + + + + + + copy-distro-resources + process-resources + + copy-resources + + + ${distroDirectory} + + + ${templatesDirectory} + + profile.xml + descriptor.xml + + true + + + + + + + + + + + maven-clean-plugin + 2.5 + + + + ${distroDirectory} + + ** + + false + + + ${configDirectory} + + ** + + false + + - org.apache.maven.plugins maven-assembly-plugin 2.2 - ${distroDirectory}/descriptor.xml + ${templatesDirectory}/descriptor.xml servicearchive - install + package single - - org.apache.maven.plugins - maven-resources-plugin - 2.5 - - - copy-profile - install - - copy-resources - - - target - - - ${distroDirectory} - true - - profile.xml - - - - - - - - diff --git a/src/main/java/org/gcube/portlets/user/td/client/TabularDataController.java b/src/main/java/org/gcube/portlets/user/td/client/TabularDataController.java index 7993a34..d843d87 100644 --- a/src/main/java/org/gcube/portlets/user/td/client/TabularDataController.java +++ b/src/main/java/org/gcube/portlets/user/td/client/TabularDataController.java @@ -443,7 +443,7 @@ public class TabularDataController { TdTaskController.bindCommonBus(eventBus); tdTaskMainWindow = tdTaskController.getWindowTaskMonitor(); - tdTaskMainWindow.setPopupPosition( Window.getClientWidth()/2, Window.getClientHeight()/2); + tdTaskMainWindow.setPopupPosition( (Window.getClientWidth()/2)-200, (Window.getClientHeight()/2)-300); tdTaskMainWindow.show();