aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Mandrikov <mandrikov@gmail.com>2011-10-21 01:59:08 +0400
committerEvgeny Mandrikov <mandrikov@gmail.com>2011-10-21 01:59:08 +0400
commitfa1132939f502ddbf7388a347bf2ae7f7deb234b (patch)
treee0e163de6b22e89797f02591c948318c7a99989c
parent27d26f303f26bca45e739ea042be74f4ffa814b6 (diff)
downloadsonarqube-fa1132939f502ddbf7388a347bf2ae7f7deb234b.tar.gz
sonarqube-fa1132939f502ddbf7388a347bf2ae7f7deb234b.zip
Enable GWT Dev mode for sonar-jacoco-plugin
-rw-r--r--plugins/sonar-design-plugin/pom.xml4
-rw-r--r--plugins/sonar-jacoco-plugin/pom.xml8
-rw-r--r--plugins/sonar-jacoco-plugin/src/main/resources/org/sonar/plugins/jacoco/itcoverage/viewer/CoverageViewer.gwt.xml1
-rw-r--r--plugins/sonar-jacoco-plugin/src/main/resources/org/sonar/plugins/jacoco/itcoverage/viewer/CoverageViewerDev.gwt.xml6
4 files changed, 10 insertions, 9 deletions
diff --git a/plugins/sonar-design-plugin/pom.xml b/plugins/sonar-design-plugin/pom.xml
index 4bba50df075..0a26132930a 100644
--- a/plugins/sonar-design-plugin/pom.xml
+++ b/plugins/sonar-design-plugin/pom.xml
@@ -80,9 +80,7 @@
</modules>
<skip>${skipGwt}</skip>
<webappDirectory>${project.build.directory}/classes</webappDirectory>
-
- <!-- do not break on two lines -->
- <extraJvmArgs>${extraJvmArgs}</extraJvmArgs>
+ <extraJvmArgs>${gwt.extraJvmArgs}</extraJvmArgs>
</configuration>
<goals>
<goal>compile</goal>
diff --git a/plugins/sonar-jacoco-plugin/pom.xml b/plugins/sonar-jacoco-plugin/pom.xml
index 73404e90118..3a3da0f1ad3 100644
--- a/plugins/sonar-jacoco-plugin/pom.xml
+++ b/plugins/sonar-jacoco-plugin/pom.xml
@@ -94,13 +94,11 @@
<execution>
<configuration>
<modules>
- <module>org.sonar.plugins.jacoco.itcoverage.viewer.CoverageViewer</module>
+ <module>org.sonar.plugins.jacoco.itcoverage.viewer.CoverageViewer${gwt.permutationSuffix}</module>
</modules>
- <skip>${skipGwt}</skip>
+ <skip>${skipGwt}</skip>
<webappDirectory>${project.build.directory}/classes</webappDirectory>
-
- <!-- do not break on two lines -->
- <extraJvmArgs>${extraJvmArgs}</extraJvmArgs>
+ <extraJvmArgs>${gwt.extraJvmArgs}</extraJvmArgs>
</configuration>
<goals>
<goal>compile</goal>
diff --git a/plugins/sonar-jacoco-plugin/src/main/resources/org/sonar/plugins/jacoco/itcoverage/viewer/CoverageViewer.gwt.xml b/plugins/sonar-jacoco-plugin/src/main/resources/org/sonar/plugins/jacoco/itcoverage/viewer/CoverageViewer.gwt.xml
index 38176710583..5ab8fc9aff4 100644
--- a/plugins/sonar-jacoco-plugin/src/main/resources/org/sonar/plugins/jacoco/itcoverage/viewer/CoverageViewer.gwt.xml
+++ b/plugins/sonar-jacoco-plugin/src/main/resources/org/sonar/plugins/jacoco/itcoverage/viewer/CoverageViewer.gwt.xml
@@ -6,5 +6,4 @@
<inherits name="com.google.gwt.gen2.table.Table"/>
<entry-point class="org.sonar.plugins.jacoco.itcoverage.viewer.client.CoverageViewer"/>
-
</module>
diff --git a/plugins/sonar-jacoco-plugin/src/main/resources/org/sonar/plugins/jacoco/itcoverage/viewer/CoverageViewerDev.gwt.xml b/plugins/sonar-jacoco-plugin/src/main/resources/org/sonar/plugins/jacoco/itcoverage/viewer/CoverageViewerDev.gwt.xml
new file mode 100644
index 00000000000..cc1bca128d0
--- /dev/null
+++ b/plugins/sonar-jacoco-plugin/src/main/resources/org/sonar/plugins/jacoco/itcoverage/viewer/CoverageViewerDev.gwt.xml
@@ -0,0 +1,6 @@
+<module>
+ <inherits name="org.sonar.plugins.jacoco.itcoverage.viewer.CoverageViewer"/>
+ <inherits name="org.sonar.SonarDev"/>
+
+ <entry-point class="org.sonar.plugins.jacoco.itcoverage.viewer.client.CoverageViewer"/>
+</module>