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-design-plugin | |
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-design-plugin')
4 files changed, 11 insertions, 32 deletions
diff --git a/plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/dependencies/DependenciesTabDev.gwt.xml b/plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/dependencies/DependenciesTabDev.gwt.xml index 2d99592a078..44bf5bf0788 100644 --- a/plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/dependencies/DependenciesTabDev.gwt.xml +++ b/plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/dependencies/DependenciesTabDev.gwt.xml @@ -1,12 +1,6 @@ <module rename-to="org.sonar.plugins.design.ui.dependencies.DependenciesTab"> - <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="org.sonar.plugins.design.ui.dependencies.DependenciesTab"/> + <inherits name="org.sonar.SonarDev"/> - <stylesheet src='dependencies-tab.css'/> <entry-point class="org.sonar.plugins.design.ui.dependencies.client.DependenciesTab"/> - - <!-- optimization of dev environments --> - <set-property name="user.agent" value="gecko1_8" /> </module> diff --git a/plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/lcom4/Lcom4TabDev.gwt.xml b/plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/lcom4/Lcom4TabDev.gwt.xml index f89e89f04a0..c4f98f07a4c 100644 --- a/plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/lcom4/Lcom4TabDev.gwt.xml +++ b/plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/lcom4/Lcom4TabDev.gwt.xml @@ -1,11 +1,6 @@ <module rename-to="org.sonar.plugins.design.ui.lcom4.Lcom4Tab"> - <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"/> - <stylesheet src="lcom4.css"/> - <entry-point class="org.sonar.plugins.design.ui.lcom4.client.Lcom4Tab"/> + <inherits name="org.sonar.plugins.design.ui.lcom4.Lcom4Tab"/> + <inherits name="org.sonar.SonarDev"/> - <!-- optimization of dev environments --> - <set-property name="user.agent" value="gecko1_8" /> + <entry-point class="org.sonar.plugins.design.ui.lcom4.client.Lcom4Tab"/> </module> diff --git a/plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/libraries/LibrariesPageDev.gwt.xml b/plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/libraries/LibrariesPageDev.gwt.xml index 5628099ea77..37f3a2f0609 100644 --- a/plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/libraries/LibrariesPageDev.gwt.xml +++ b/plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/libraries/LibrariesPageDev.gwt.xml @@ -1,11 +1,6 @@ <module rename-to="org.sonar.plugins.design.ui.libraries.LibrariesPage"> - <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"/> - <stylesheet src="libraries.css"/> - <entry-point class="org.sonar.plugins.design.ui.libraries.client.LibrariesPage"/> + <inherits name="org.sonar.plugins.design.ui.libraries.LibrariesPage"/> + <inherits name="org.sonar.SonarDev"/> - <!-- optimization of dev environments --> - <set-property name="user.agent" value="gecko1_8" /> + <entry-point class="org.sonar.plugins.design.ui.libraries.client.LibrariesPage"/> </module> diff --git a/plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/page/DesignPageDev.gwt.xml b/plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/page/DesignPageDev.gwt.xml index 0e137c320df..0bbeccd6929 100644 --- a/plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/page/DesignPageDev.gwt.xml +++ b/plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/page/DesignPageDev.gwt.xml @@ -1,11 +1,6 @@ <module rename-to="org.sonar.plugins.design.ui.page.DesignPage"> - <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"/> - <stylesheet src="design.css"/> - <entry-point class="org.sonar.plugins.design.ui.page.client.DesignPage"/> + <inherits name="org.sonar.plugins.design.ui.page.DesignPage"/> + <inherits name="org.sonar.SonarDev"/> - <!-- optimization of dev environments --> - <set-property name="user.agent" value="gecko1_8" /> + <entry-point class="org.sonar.plugins.design.ui.page.client.DesignPage"/> </module> |