set PRETTY as gwt.compiler.style for debugging
This commit is contained in:
parent
6119f81969
commit
95a1656d27
43
pom.xml
43
pom.xml
|
@ -21,6 +21,7 @@
|
||||||
<properties>
|
<properties>
|
||||||
<!-- Convenience property to set the GWT version -->
|
<!-- Convenience property to set the GWT version -->
|
||||||
<gwt.version>2.9.0</gwt.version>
|
<gwt.version>2.9.0</gwt.version>
|
||||||
|
<gwt.compiler.style>PRETTY</gwt.compiler.style>
|
||||||
<webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory>
|
<webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory>
|
||||||
<!-- GWT 2.9 support 8, 9 and 11 -->
|
<!-- GWT 2.9 support 8, 9 and 11 -->
|
||||||
<maven.compiler.source>1.8</maven.compiler.source>
|
<maven.compiler.source>1.8</maven.compiler.source>
|
||||||
|
@ -109,30 +110,30 @@
|
||||||
<artifactId>geo-utility</artifactId>
|
<artifactId>geo-utility</artifactId>
|
||||||
<version>[1.0.0,2.0.0-SNAPSHOT)</version>
|
<version>[1.0.0,2.0.0-SNAPSHOT)</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- <dependency> -->
|
<!-- <dependency> -->
|
||||||
<!-- <groupId>org.gcube.common</groupId> -->
|
<!-- <groupId>org.gcube.common</groupId> -->
|
||||||
<!-- <artifactId>authorization-client</artifactId> -->
|
<!-- <artifactId>authorization-client</artifactId> -->
|
||||||
<!-- <version>[2.0.0, 3.0.0-SNAPSHOT)</version> -->
|
<!-- <version>[2.0.0, 3.0.0-SNAPSHOT)</version> -->
|
||||||
<!-- <scope>provided</scope> -->
|
<!-- <scope>provided</scope> -->
|
||||||
<!-- </dependency> -->
|
<!-- </dependency> -->
|
||||||
<!-- <dependency> -->
|
<!-- <dependency> -->
|
||||||
<!-- <groupId>org.gcube.resources.discovery</groupId> -->
|
<!-- <groupId>org.gcube.resources.discovery</groupId> -->
|
||||||
<!-- <artifactId>ic-client</artifactId> -->
|
<!-- <artifactId>ic-client</artifactId> -->
|
||||||
<!-- <version>[1.0.0, 2.0.0-SNAPSHOT)</version> -->
|
<!-- <version>[1.0.0, 2.0.0-SNAPSHOT)</version> -->
|
||||||
<!-- <scope>provided</scope> -->
|
<!-- <scope>provided</scope> -->
|
||||||
<!-- </dependency> -->
|
<!-- </dependency> -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.core</groupId>
|
<groupId>org.gcube.core</groupId>
|
||||||
<artifactId>common-scope-maps</artifactId>
|
<artifactId>common-scope-maps</artifactId>
|
||||||
<version>[1.1.0, 2.0.0-SNAPSHOT)</version>
|
<version>[1.1.0, 2.0.0-SNAPSHOT)</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- <dependency> -->
|
<!-- <dependency> -->
|
||||||
<!-- <groupId>org.gcube.portlets.user</groupId> -->
|
<!-- <groupId>org.gcube.portlets.user</groupId> -->
|
||||||
<!-- <artifactId>gcube-url-shortener</artifactId> -->
|
<!-- <artifactId>gcube-url-shortener</artifactId> -->
|
||||||
<!-- <version>[1.0.0,2.0.0-SNAPSHOT)</version> -->
|
<!-- <version>[1.0.0,2.0.0-SNAPSHOT)</version> -->
|
||||||
<!-- <scope>compile</scope> -->
|
<!-- <scope>compile</scope> -->
|
||||||
<!-- </dependency> -->
|
<!-- </dependency> -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.common.portal</groupId>
|
<groupId>org.gcube.common.portal</groupId>
|
||||||
<artifactId>portal-manager</artifactId>
|
<artifactId>portal-manager</artifactId>
|
||||||
|
@ -190,9 +191,6 @@
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<!-- Output classes directly into the webapp, so that IDEs and "mvn process-classes"
|
|
||||||
update them in DevMode -->
|
|
||||||
<!-- <outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory> -->
|
|
||||||
|
|
||||||
<!-- Output classes directly into the webapp, so that IDEs and "mvn process-classes"
|
<!-- Output classes directly into the webapp, so that IDEs and "mvn process-classes"
|
||||||
update them in DevMode -->
|
update them in DevMode -->
|
||||||
|
@ -207,6 +205,9 @@
|
||||||
<version>${gwt.version}</version>
|
<version>${gwt.version}</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
|
<configuration>
|
||||||
|
<style>${gwt.compiler.style}</style>
|
||||||
|
</configuration>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>compile</goal>
|
<goal>compile</goal>
|
||||||
<!-- <goal>test</goal> -->
|
<!-- <goal>test</goal> -->
|
||||||
|
|
|
@ -247,7 +247,7 @@ public class LayerManager {
|
||||||
String theImgHTML = "<img src=\""+wsContent.getLink()+"\"></img>";
|
String theImgHTML = "<img src=\""+wsContent.getLink()+"\"></img>";
|
||||||
GWT.log("theImgHTML: "+theImgHTML);
|
GWT.log("theImgHTML: "+theImgHTML);
|
||||||
GeoportalDataViewerConstants.print("The row are: "+flex.getRowCount());
|
GeoportalDataViewerConstants.print("The row are: "+flex.getRowCount());
|
||||||
flex.setHTML(flex.getRowCount()+1, 0, theImgHTML);
|
flex.add(new HTML(theImgHTML));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue