set PRETTY as gwt.compiler.style for debugging

This commit is contained in:
Francesco Mangiacrapa 2020-11-24 14:19:54 +01:00
parent 6119f81969
commit 95a1656d27
2 changed files with 24 additions and 23 deletions

View File

@ -21,6 +21,7 @@
<properties>
<!-- Convenience property to set the GWT version -->
<gwt.version>2.9.0</gwt.version>
<gwt.compiler.style>PRETTY</gwt.compiler.style>
<webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory>
<!-- GWT 2.9 support 8, 9 and 11 -->
<maven.compiler.source>1.8</maven.compiler.source>
@ -190,9 +191,6 @@
</dependencies>
<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"
update them in DevMode -->
@ -207,6 +205,9 @@
<version>${gwt.version}</version>
<executions>
<execution>
<configuration>
<style>${gwt.compiler.style}</style>
</configuration>
<goals>
<goal>compile</goal>
<!-- <goal>test</goal> -->

View File

@ -247,7 +247,7 @@ public class LayerManager {
String theImgHTML = "<img src=\""+wsContent.getLink()+"\"></img>";
GWT.log("theImgHTML: "+theImgHTML);
GeoportalDataViewerConstants.print("The row are: "+flex.getRowCount());
flex.setHTML(flex.getRowCount()+1, 0, theImgHTML);
flex.add(new HTML(theImgHTML));
}
}
}