diff options
author | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-01-17 09:36:29 +0800 |
---|---|---|
committer | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-01-17 17:49:18 +0800 |
commit | 5e5b906bd3b3f49e5080d6511067bb45c3b9f579 (patch) | |
tree | ff8c86fb4d886bcc3a00874ad1d3aed698f28730 /plugins/sonar-core-gwt | |
parent | f4fe0fbfc490896069a758d594f07b9acc6657f7 (diff) | |
download | sonarqube-5e5b906bd3b3f49e5080d6511067bb45c3b9f579.tar.gz sonarqube-5e5b906bd3b3f49e5080d6511067bb45c3b9f579.zip |
Simplify configuration of dev GWT modules
* Inherit settings from original module
* Introduce reusable module org.sonar.SonarDev
Diffstat (limited to 'plugins/sonar-core-gwt')
8 files changed, 21 insertions, 79 deletions
diff --git a/plugins/sonar-core-gwt/src/main/resources/org/sonar/plugins/core/clouds/GwtCloudsDev.gwt.xml b/plugins/sonar-core-gwt/src/main/resources/org/sonar/plugins/core/clouds/GwtCloudsDev.gwt.xml index a9c37479fcc..9d3f64f412a 100644 --- a/plugins/sonar-core-gwt/src/main/resources/org/sonar/plugins/core/clouds/GwtCloudsDev.gwt.xml +++ b/plugins/sonar-core-gwt/src/main/resources/org/sonar/plugins/core/clouds/GwtCloudsDev.gwt.xml @@ -1,13 +1,6 @@ <module rename-to="org.sonar.plugins.core.clouds.GwtClouds"> - <inherits name="com.google.gwt.user.User"/> - <inherits name="com.google.gwt.json.JSON"/> - <inherits name="com.google.gwt.http.HTTP"/> - <inherits name="org.sonar.api.web.gwt.Sonar"/> - - <stylesheet src="clouds.css"/> + <inherits name="org.sonar.plugins.core.clouds.GwtClouds"/> + <inherits name="org.sonar.SonarDev"/> <entry-point class="org.sonar.plugins.core.clouds.client.GwtClouds"/> - - <!-- optimization of dev environments --> - <set-property name="user.agent" value="gecko1_8" /> </module> diff --git a/plugins/sonar-core-gwt/src/main/resources/org/sonar/plugins/core/coverageviewer/CoverageViewerDev.gwt.xml b/plugins/sonar-core-gwt/src/main/resources/org/sonar/plugins/core/coverageviewer/CoverageViewerDev.gwt.xml index 0ab28e22798..e4775a20a21 100644 --- a/plugins/sonar-core-gwt/src/main/resources/org/sonar/plugins/core/coverageviewer/CoverageViewerDev.gwt.xml +++ b/plugins/sonar-core-gwt/src/main/resources/org/sonar/plugins/core/coverageviewer/CoverageViewerDev.gwt.xml @@ -1,12 +1,6 @@ <module rename-to="org.sonar.plugins.core.coverageviewer.CoverageViewer"> - <inherits name="com.google.gwt.user.User"/> - <inherits name="com.google.gwt.json.JSON"/> - <inherits name="com.google.gwt.http.HTTP"/> - <inherits name="org.sonar.Sonar"/> - <inherits name="com.google.gwt.gen2.table.Table"/> + <inherits name="org.sonar.plugins.core.coverageviewer.CoverageViewer"/> + <inherits name="org.sonar.SonarDev"/> <entry-point class="org.sonar.plugins.core.coverageviewer.client.CoverageViewer"/> - - <!-- optimization of dev environments --> - <set-property name="user.agent" value="gecko1_8" /> </module> diff --git a/plugins/sonar-core-gwt/src/main/resources/org/sonar/plugins/core/defaultsourceviewer/GwtDefaultSourceViewerDev.gwt.xml b/plugins/sonar-core-gwt/src/main/resources/org/sonar/plugins/core/defaultsourceviewer/GwtDefaultSourceViewerDev.gwt.xml index eb23d0f5df8..42f869d4edd 100644 --- a/plugins/sonar-core-gwt/src/main/resources/org/sonar/plugins/core/defaultsourceviewer/GwtDefaultSourceViewerDev.gwt.xml +++ b/plugins/sonar-core-gwt/src/main/resources/org/sonar/plugins/core/defaultsourceviewer/GwtDefaultSourceViewerDev.gwt.xml @@ -1,12 +1,6 @@ <module rename-to="org.sonar.plugins.core.defaultsourceviewer.GwtDefaultSourceViewer"> - <inherits name="com.google.gwt.user.User"/> - <inherits name="com.google.gwt.json.JSON"/> - <inherits name="com.google.gwt.http.HTTP"/> - <inherits name="org.sonar.Sonar"/> - <inherits name="com.google.gwt.gen2.table.Table"/> + <inherits name="org.sonar.plugins.core.defaultsourceviewer.GwtDefaultSourceViewer"/> + <inherits name="org.sonar.SonarDev"/> <entry-point class="org.sonar.plugins.core.defaultsourceviewer.client.GwtDefaultSourceViewer"/> - - <!-- optimization of dev environments --> - <set-property name="user.agent" value="gecko1_8" /> </module> diff --git a/plugins/sonar-core-gwt/src/main/resources/org/sonar/plugins/core/duplicationsviewer/DuplicationsViewerDev.gwt.xml b/plugins/sonar-core-gwt/src/main/resources/org/sonar/plugins/core/duplicationsviewer/DuplicationsViewerDev.gwt.xml index a4d082aca8f..d3a0ffd3806 100644 --- a/plugins/sonar-core-gwt/src/main/resources/org/sonar/plugins/core/duplicationsviewer/DuplicationsViewerDev.gwt.xml +++ b/plugins/sonar-core-gwt/src/main/resources/org/sonar/plugins/core/duplicationsviewer/DuplicationsViewerDev.gwt.xml @@ -1,15 +1,6 @@ <module rename-to="org.sonar.plugins.core.duplicationsviewer.DuplicationsViewer"> - <inherits name="com.google.gwt.xml.XML"/> - <inherits name="com.google.gwt.user.User"/> - <inherits name="com.google.gwt.json.JSON"/> - <inherits name="com.google.gwt.http.HTTP"/> - <inherits name="org.sonar.Sonar"/> - <inherits name="com.google.gwt.gen2.table.Table"/> - - <stylesheet src="DuplicationsViewer.css"/> + <inherits name="org.sonar.plugins.core.duplicationsviewer.DuplicationsViewer"/> + <inherits name="org.sonar.SonarDev"/> <entry-point class="org.sonar.plugins.core.duplicationsviewer.client.DuplicationsViewer"/> - - <!-- optimization of dev environments --> - <set-property name="user.agent" value="gecko1_8" /> </module> diff --git a/plugins/sonar-core-gwt/src/main/resources/org/sonar/plugins/core/hotspots/GwtHotspotsDev.gwt.xml b/plugins/sonar-core-gwt/src/main/resources/org/sonar/plugins/core/hotspots/GwtHotspotsDev.gwt.xml index de57eb5f22f..47a4c556c08 100644 --- a/plugins/sonar-core-gwt/src/main/resources/org/sonar/plugins/core/hotspots/GwtHotspotsDev.gwt.xml +++ b/plugins/sonar-core-gwt/src/main/resources/org/sonar/plugins/core/hotspots/GwtHotspotsDev.gwt.xml @@ -1,12 +1,6 @@ <module rename-to="org.sonar.plugins.core.hotspots.GwtHotspots"> - <inherits name="com.google.gwt.user.User"/> - <inherits name="com.google.gwt.json.JSON"/> - <inherits name="com.google.gwt.http.HTTP"/> - <inherits name="org.sonar.Sonar"/> - <inherits name="com.google.gwt.i18n.I18N"/> - <stylesheet src="hotspots.css"/> - <entry-point class="org.sonar.plugins.core.hotspots.client.GwtHotspots"/> + <inherits name="org.sonar.plugins.core.hotspots.GwtHotspots"/> + <inherits name="org.sonar.SonarDev"/> - <!-- optimization of dev environments --> - <set-property name="user.agent" value="gecko1_8" /> -</module>
\ No newline at end of file + <entry-point class="org.sonar.plugins.core.hotspots.client.GwtHotspots"/> +</module> diff --git a/plugins/sonar-core-gwt/src/main/resources/org/sonar/plugins/core/testdetailsviewer/TestsViewerDev.gwt.xml b/plugins/sonar-core-gwt/src/main/resources/org/sonar/plugins/core/testdetailsviewer/TestsViewerDev.gwt.xml index c44229ca597..8f8f3d80b0c 100644 --- a/plugins/sonar-core-gwt/src/main/resources/org/sonar/plugins/core/testdetailsviewer/TestsViewerDev.gwt.xml +++ b/plugins/sonar-core-gwt/src/main/resources/org/sonar/plugins/core/testdetailsviewer/TestsViewerDev.gwt.xml @@ -1,15 +1,6 @@ <module rename-to="org.sonar.plugins.core.testdetailsviewer.TestsViewer"> - <inherits name="com.google.gwt.xml.XML"/> - <inherits name="com.google.gwt.user.User"/> - <inherits name="com.google.gwt.json.JSON"/> - <inherits name="com.google.gwt.http.HTTP"/> - <inherits name="org.sonar.Sonar"/> - <inherits name="com.google.gwt.gen2.table.Table"/> - - <stylesheet src="TestsViewer.css"/> + <inherits name="org.sonar.plugins.core.testdetailsviewer.TestsViewer"/> + <inherits name="org.sonar.SonarDev"/> <entry-point class="org.sonar.plugins.core.testdetailsviewer.client.TestsViewer"/> - - <!-- optimization of dev environments --> - <set-property name="user.agent" value="gecko1_8" /> -</module>
\ No newline at end of file +</module> diff --git a/plugins/sonar-core-gwt/src/main/resources/org/sonar/plugins/core/ui/pageselector/PageSelectorDev.gwt.xml b/plugins/sonar-core-gwt/src/main/resources/org/sonar/plugins/core/ui/pageselector/PageSelectorDev.gwt.xml index b1c8bc295f8..b624f2e73aa 100644 --- a/plugins/sonar-core-gwt/src/main/resources/org/sonar/plugins/core/ui/pageselector/PageSelectorDev.gwt.xml +++ b/plugins/sonar-core-gwt/src/main/resources/org/sonar/plugins/core/ui/pageselector/PageSelectorDev.gwt.xml @@ -1,14 +1,6 @@ <module rename-to="org.sonar.plugins.core.ui.pageselector.PageSelector"> - <inherits name="com.google.gwt.user.User"/> - <inherits name="com.google.gwt.json.JSON"/> - <inherits name="com.google.gwt.http.HTTP"/> - <inherits name="com.google.gwt.i18n.I18N"/> - <inherits name="org.sonar.api.web.gwt.Sonar"/> - <inherits name="org.sonar.Sonar"/> - <stylesheet src="pageselector.css" /> - - <entry-point class="org.sonar.plugins.core.ui.pageselector.client.PageSelector"/> + <inherits name="org.sonar.plugins.core.ui.pageselector.PageSelector"/> + <inherits name="org.sonar.SonarDev"/> - <!-- optimization of dev environments --> - <set-property name="user.agent" value="gecko1_8" /> -</module>
\ No newline at end of file + <entry-point class="org.sonar.plugins.core.ui.pageselector.client.PageSelector"/> +</module> diff --git a/plugins/sonar-core-gwt/src/main/resources/org/sonar/plugins/core/violationsviewer/ViolationsViewerDev.gwt.xml b/plugins/sonar-core-gwt/src/main/resources/org/sonar/plugins/core/violationsviewer/ViolationsViewerDev.gwt.xml index e628eae9114..955baeabd73 100644 --- a/plugins/sonar-core-gwt/src/main/resources/org/sonar/plugins/core/violationsviewer/ViolationsViewerDev.gwt.xml +++ b/plugins/sonar-core-gwt/src/main/resources/org/sonar/plugins/core/violationsviewer/ViolationsViewerDev.gwt.xml @@ -1,13 +1,6 @@ <module rename-to="org.sonar.plugins.core.violationsviewer.ViolationsViewer"> - <inherits name="com.google.gwt.user.User"/> - <inherits name="com.google.gwt.json.JSON"/> - <inherits name="com.google.gwt.http.HTTP"/> - <inherits name="org.sonar.Sonar"/> - <inherits name="com.google.gwt.gen2.table.Table"/> - <inherits name="com.google.gwt.i18n.I18N"/> + <inherits name="org.sonar.plugins.core.violationsviewer.ViolationsViewer"/> + <inherits name="org.sonar.SonarDev"/> <entry-point class="org.sonar.plugins.core.violationsviewer.client.ViolationsViewer"/> - - <!-- optimization of dev environments --> - <set-property name="user.agent" value="gecko1_8" /> </module> |