This commit is contained in:
Giancarlo Panichi 2015-03-30 16:34:24 +00:00
parent 1acfaa9e72
commit 2891f6a708
5 changed files with 32 additions and 36 deletions

View File

@ -40,7 +40,6 @@
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
</attributes>
</classpathentry>
<classpathentry kind="lib" path="/home/giancarlo/gwt/gwt-2.6.1/validation-api-1.0.0.GA.jar" sourcepath="/home/giancarlo/gwt/gwt-2.6.1/validation-api-1.0.0.GA-sources.jar"/>

49
pom.xml
View File

@ -44,10 +44,10 @@
<distroDirectory>distro</distroDirectory>
<configDirectory>config</configDirectory>
<gwtVersion>2.6.1</gwtVersion>
<gwtLogVersion>3.3.2</gwtLogVersion>
<gxtVersion>3.1.1</gxtVersion>
<gxtVersion>3.1.1</gxtVersion>
<KEYS>${env.KEYS}</KEYS>
@ -78,6 +78,12 @@
<artifactId>home-library</artifactId>
<version>[1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
</dependency>
<!-- service-client-impl -->
<dependency>
<groupId>org.gcube.data.analysis.tabulardata</groupId>
<artifactId>service-client-impl</artifactId>
<version>[2.0.0-SNAPSHOT,3.0.0-SNAPSHOT)</version>
</dependency>
<dependency>
<groupId>org.gcube.core</groupId>
<artifactId>common-scope-maps</artifactId>
@ -100,22 +106,13 @@
<artifactId>gwt-user</artifactId>
<version>${gwtVersion}</version>
</dependency>
<!--
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>1.0.0.GA</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>1.0.0.GA</version>
<classifier>sources</classifier>
<scope>test</scope>
</dependency> -->
<!-- <dependency> <groupId>javax.validation</groupId> <artifactId>validation-api</artifactId>
<version>1.0.0.GA</version> <scope>test</scope> </dependency> <dependency>
<groupId>javax.validation</groupId> <artifactId>validation-api</artifactId>
<version>1.0.0.GA</version> <classifier>sources</classifier> <scope>test</scope>
</dependency> -->
<dependency>
<groupId>com.sencha.gxt</groupId>
@ -124,12 +121,13 @@
</dependency>
<!-- tabular-data-gwt-service -->
<dependency>
<groupId>org.gcube.portlets.user</groupId>
<artifactId>tabular-data-gwt-service</artifactId>
<version>[2.0.0-SNAPSHOT,3.0.0-SNAPSHOT)</version>
<scope>provided</scope>
<scope>provided</scope>
</dependency>
<!-- tabular-data-widget-common-event -->
@ -137,7 +135,7 @@
<groupId>org.gcube.portlets.user</groupId>
<artifactId>tabular-data-widget-common-event</artifactId>
<version>[1.0.0-SNAPSHOT,2.0.0-SNAPSHOT)</version>
<scope>provided</scope>
<scope>provided</scope>
</dependency>
<!-- TD Expression -->
@ -145,16 +143,16 @@
<groupId>org.gcube.portlets.user</groupId>
<artifactId>tabular-data-expression-widget</artifactId>
<version>[1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
<scope>provided</scope>
<scope>provided</scope>
</dependency>
<!-- TDX Source -->
<dependency>
<groupId>org.gcube.portlets.user</groupId>
<artifactId>tabular-data-widgetx-tdx-source</artifactId>
<version>[1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
<scope>provided</scope>
<scope>provided</scope>
</dependency>
<!-- tabular-data-monitor-widget -->
@ -162,7 +160,7 @@
<groupId>org.gcube.portlets.user</groupId>
<artifactId>tabular-data-monitor-widget</artifactId>
<version>[1.0.0-SNAPSHOT,2.0.0-SNAPSHOT)</version>
<scope>provided</scope>
<scope>provided</scope>
</dependency>
<!-- LOGGING -->
@ -170,7 +168,7 @@
<groupId>com.allen-sauer.gwt.log</groupId>
<artifactId>gwt-log</artifactId>
<version>${gwtLogVersion}</version>
<!-- <scope>provided</scope> -->
<scope>provided</scope>
</dependency>
<dependency>
@ -343,5 +341,4 @@
</dependency>
</dependencies>
</dependencyManagement>
<packaging>war</packaging>
</project>

View File

@ -25,8 +25,8 @@
<!-- Specify the app entry point class. -->
<entry-point class='org.gcube.portlets.user.td.columnwidget.client.ColumnWidgetEntry'
/>
<!-- <entry-point class='org.gcube.portlets.user.td.columnwidget.client.ColumnWidgetEntry'
/> -->
<!-- Specify the paths for translatable code -->
<source path='client' />

View File

@ -70,6 +70,7 @@ public class ColumnWidgetEntry implements EntryPoint {
@Override
public void onFailure(Throwable caught) {
Log.info("No valid user found: " + caught.getMessage());
caught.printStackTrace();
if (caught instanceof TDGWTSessionExpiredException) {
UtilsGXT3.alert("Error", "Expired Session");
@ -80,9 +81,8 @@ public class ColumnWidgetEntry implements EntryPoint {
@Override
public void onSuccess(UserInfo result) {
Log.info("Hello: " + result.getUsername());
test();
}
});

View File

@ -28,20 +28,20 @@
<!-- Specify the app entry point class. -->
<entry-point class='org.gcube.portlets.user.td.columnwidget.client.ColumnWidgetEntry' />
<!-- <entry-point class='org.gcube.portlets.user.td.columnwidget.client.ColumnWidgetEntry' /> -->
<!--
<set-property name="log_ConsoleLogger" value="ENABLED" />
<set-property name="log_DivLogger" value="ENABLED" />
<set-property name="log_GWTLogger" value="ENABLED" />
<set-property name="log_SystemLogger" value="ENABLED" />
<set-property name="log_SystemLogger" value="ENABLED" /> -->
<!--
<set-property name="log_ConsoleLogger" value="DISABLED" />
<set-property name="log_DivLogger" value="DISABLED" />
<set-property name="log_GWTLogger" value="DISABLED" />
<set-property name="log_SystemLogger" value="DISABLED" /> -->
<set-property name="log_SystemLogger" value="DISABLED" />
<!-- Specify the paths for translatable code -->