mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-25 06:58:39 +00:00
Updated build script and gwt files
This commit is contained in:
@@ -557,22 +557,23 @@ if [[ "$@" == "build" ]] || [[ "$@" == "all" ]]; then
|
||||
if [ $gwtcompile -eq 1 ] && [[ "$clean" == "clean" ]]; then
|
||||
echo "INFO: Compiling GWT (rm -rf com.sap.$PROJECT_TYPE.gwt.ui/com.sap.$PROJECT_TYPE.*)"
|
||||
rm -rf com.sap.$PROJECT_TYPE.gwt.ui/com.sap.$PROJECT_TYPE.*
|
||||
GWT_XML_FILES=`find com.sap.$PROJECT_TYPE.gwt.ui/src/ -name '*.gwt.xml'`
|
||||
GWT_XML_FILES=`find . -name '*.gwt.xml'`
|
||||
if [ $onegwtpermutationonly -eq 1 ]; then
|
||||
echo "INFO: Patching .gwt.xml files such that only one GWT permutation needs to be compiled"
|
||||
for i in $GWT_XML_FILES; do
|
||||
echo "INFO: Patching $i files such that only one GWT permutation needs to be compiled"
|
||||
cp $i $i.bak
|
||||
cat $i | sed -e 's/com.sap.sailing.gwt.common.SailingAllPermutations/com.sap.sailing.gwt.common.SailingSinglePermutation/' >$i.sed
|
||||
mv $i.sed $i
|
||||
cat $i | sed -e 's/AllPermutations/SinglePermutation/' >$i.sed
|
||||
mv $i.sed $i
|
||||
done
|
||||
else
|
||||
echo "INFO: Patching .gwt.xml files such that all GWT permutations are compiled"
|
||||
for i in $GWT_XML_FILES; do
|
||||
echo "INFO: reset $i file to commited/ original state"
|
||||
echo "INFO: Patching $i files such that all GWT permutations are compiled"
|
||||
cp $i $i.bak
|
||||
cat $i | sed -e 's/com.sap.sailing.gwt.common.SailingSinglePermutation/com.sap.sailing.gwt.common.SailingAllPermutations/' >$i.sed
|
||||
cat $i | sed -e 's/SinglePermutation/AllPermutations/' >$i.sed
|
||||
mv $i.sed $i
|
||||
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
+2
-1
@@ -39,7 +39,8 @@
|
||||
<inherits name='com.google.gwt.maps.Maps' />
|
||||
|
||||
<inherits name="com.sap.sailing.domain.SailingDomain" />
|
||||
<inherits name='com.sap.sailing.gwt.common.SailingLocales' />
|
||||
<!-- module containing locale configuration -->
|
||||
<inherits name='com.sap.sailing.gwt.common.SailingLocalesAllPermutations' />
|
||||
<inherits name="com.sap.sailing.gwt.ui.NoUI" />
|
||||
|
||||
<!-- Specify the app entry point class. -->
|
||||
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.7.0//EN" "http://gwtproject.org/doctype/2.7.0/gwt-module.dtd">
|
||||
<module>
|
||||
<!--
|
||||
this gwt module is used by the build script when called with
|
||||
-g option
|
||||
and makes the compiler generate only one permutation for
|
||||
the defined language and browser below.
|
||||
-->
|
||||
<extend-property name="locale" values="de" />
|
||||
<set-property name="locale" value="de" />
|
||||
<set-property-fallback name="locale" value="de" />
|
||||
<set-property name="user.agent" value="gecko1_8" />
|
||||
</module>
|
||||
+1
-1
@@ -8,4 +8,4 @@
|
||||
<source path='client'/>
|
||||
<source path='theme'/>
|
||||
</module>
|
||||
|
||||
|
||||
|
||||
@@ -26,7 +26,8 @@
|
||||
<inherits name="com.github.gwtbootstrap.BootstrapNoResources" />
|
||||
<inherits name='com.github.gwtbootstrap.datetimepicker.DatetimepickerNoResources' />
|
||||
|
||||
<inherits name='com.sap.sailing.gwt.common.SailingLocales' />
|
||||
<!-- module containing locale configuration -->
|
||||
<inherits name='com.sap.sailing.gwt.common.SailingLocalesAllPermutations' />
|
||||
|
||||
<source path='client' />
|
||||
<source path='shared' />
|
||||
@@ -43,7 +44,7 @@
|
||||
<inherits name="com.sap.sailing.gwt.ui.SourceAdminConsole"/>
|
||||
<inherits name="com.sap.sailing.gwt.regattaoverview.SourceRegattaOverview"/>
|
||||
<inherits name="com.sap.sailing.gwt.ui.SourceLeaderboard"/>
|
||||
<inherits name="com.sap.sailing.gwt.ui.SourceRaceboard"/>
|
||||
<inherits name="com.sap.sailing.gwt.ui.SourceRaceboard"/>
|
||||
<inherits name='com.sap.sse.gwt.CommonControlCSS'/>
|
||||
<inherits name='com.sap.sailing.gwt.settings.Settings'/>
|
||||
|
||||
|
||||
+3
-2
@@ -28,7 +28,8 @@
|
||||
|
||||
|
||||
<source path='client'/>
|
||||
<inherits name='com.sap.sailing.gwt.common.SailingLocales' />
|
||||
<!-- module containing locale configuration -->
|
||||
<inherits name='com.sap.sailing.gwt.common.SailingLocalesAllPermutations' />
|
||||
|
||||
<inherits name="com.sap.sailing.gwt.ui.SourceAdminConsole"/>
|
||||
<inherits name='com.sap.sailing.gwt.ui.SourceClient'/>
|
||||
@@ -43,4 +44,4 @@
|
||||
|
||||
<inherits name='com.sap.sse.gwt.CommonControlCSS_Autoinject'/>
|
||||
</module>
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -8,4 +8,4 @@
|
||||
|
||||
|
||||
</module>
|
||||
|
||||
|
||||
|
||||
+2
-1
@@ -44,7 +44,8 @@
|
||||
<set-property name="gwt.logging.developmentModeHandler" value="DISABLED" />
|
||||
<set-property name="gwt.logging.systemHandler" value="ENABLED" />
|
||||
|
||||
<inherits name='com.sap.sailing.gwt.common.SailingLocales' />
|
||||
<!-- module containing locale configuration -->
|
||||
<inherits name='com.sap.sailing.gwt.common.SailingLocalesAllPermutations' />
|
||||
|
||||
<!-- Turning CSS obfuscation off -->
|
||||
<!-- <set-configuration-property name="CssResource.style" value="pretty"/> -->
|
||||
|
||||
@@ -30,10 +30,10 @@
|
||||
<entry-point class='com.sap.sailing.gwt.autoplay.client.AutoPlayEntryPoint' />
|
||||
|
||||
<!-- Specify the paths for translatable code -->
|
||||
<inherits name='com.sap.sailing.gwt.common.SailingLocales' />
|
||||
|
||||
<source path="autoplay"/>
|
||||
<!-- module containing locale configuration -->
|
||||
<inherits name='com.sap.sailing.gwt.common.SailingLocalesAllPermutations' />
|
||||
|
||||
<source path="autoplay"/>
|
||||
|
||||
<inherits name='com.sap.sailing.gwt.common.SourceCommon'/>
|
||||
<inherits name='com.sap.sailing.gwt.ui.SourceCommon'/>
|
||||
|
||||
+3
-2
@@ -27,7 +27,8 @@
|
||||
<inherits name="com.sap.sailing.datamining.DataMiningSailingDomain" />
|
||||
<inherits name="com.sap.sailing.polars.datamining.DataMiningPolars" />
|
||||
|
||||
<inherits name='com.sap.sailing.gwt.common.SailingLocales' />
|
||||
<!-- module containing locale configuration -->
|
||||
<inherits name='com.sap.sailing.gwt.common.SailingLocalesAllPermutations' />
|
||||
|
||||
<!-- Disable logging -->
|
||||
<set-property name="gwt.logging.enabled" value="FALSE"/>
|
||||
@@ -45,4 +46,4 @@
|
||||
<inherits name='com.sap.sse.gwt.CommonControlCSS_Autoinject'/>
|
||||
<entry-point class="com.sap.sailing.gwt.ui.datamining.DataMiningEntryPoint" />
|
||||
|
||||
</module>
|
||||
</module>
|
||||
|
||||
+2
-1
@@ -25,7 +25,8 @@
|
||||
<!-- Specify the app entry point class. -->
|
||||
<entry-point class='com.sap.sailing.gwt.ui.raceboard.EmbeddedMapAndWindChartEntryPoint'/>
|
||||
|
||||
<inherits name='com.sap.sailing.gwt.common.SailingLocales' />
|
||||
<!-- module containing locale configuration -->
|
||||
<inherits name='com.sap.sailing.gwt.common.SailingLocalesAllPermutations' />
|
||||
|
||||
<inherits name='com.sap.sailing.gwt.ui.SourceCommon' />
|
||||
<inherits name='com.sap.sailing.gwt.ui.SourceClient' />
|
||||
|
||||
+2
-1
@@ -27,7 +27,8 @@
|
||||
<!-- Specify the app entry point class. -->
|
||||
<entry-point class='com.sap.sailing.gwt.ui.leaderboard.LeaderboardEntryPoint' />
|
||||
|
||||
<inherits name='com.sap.sailing.gwt.common.SailingLocales' />
|
||||
<!-- module containing locale configuration -->
|
||||
<inherits name='com.sap.sailing.gwt.common.SailingLocalesAllPermutations' />
|
||||
|
||||
<inherits name='com.sap.sailing.gwt.ui.SourceLeaderboard' />
|
||||
<inherits name='com.sap.sailing.gwt.ui.SourceCommon' />
|
||||
|
||||
+3
-2
@@ -25,8 +25,9 @@
|
||||
<!-- Specify the app entry point class. -->
|
||||
<entry-point class='com.sap.sailing.gwt.ui.raceboard.RaceBoardEntryPoint'/>
|
||||
|
||||
<inherits name='com.sap.sailing.gwt.common.SailingLocales' />
|
||||
|
||||
<!-- module containing locale configuration -->
|
||||
<inherits name='com.sap.sailing.gwt.common.SailingLocalesAllPermutations' />
|
||||
|
||||
<inherits name='com.sap.sailing.gwt.ui.SourceCommon' />
|
||||
<inherits name='com.sap.sailing.gwt.ui.SourceClient' />
|
||||
<inherits name='com.sap.sailing.gwt.ui.SourceShared' />
|
||||
|
||||
+3
-2
@@ -23,7 +23,8 @@
|
||||
<inherits name="com.github.gwtbootstrap.BootstrapNoResources" />
|
||||
<inherits name='com.github.gwtbootstrap.datetimepicker.DatetimepickerNoResources' />
|
||||
|
||||
<inherits name='com.sap.sailing.gwt.common.SailingLocales' />
|
||||
<!-- module containing locale configuration -->
|
||||
<inherits name='com.sap.sailing.gwt.common.SailingLocalesAllPermutations' />
|
||||
|
||||
<inherits name="com.sap.sailing.gwt.ui.SourceAdminConsole"/>
|
||||
<inherits name='com.sap.sailing.gwt.ui.SourceClient'/>
|
||||
@@ -44,4 +45,4 @@
|
||||
<!-- Specify the app entry point class. -->
|
||||
<entry-point class='com.sap.sailing.gwt.ui.simulator.SimulatorEntryPoint' />
|
||||
|
||||
</module>
|
||||
</module>
|
||||
|
||||
+2
-1
@@ -25,7 +25,8 @@
|
||||
<!-- Specify the app entry point class. -->
|
||||
<entry-point class='com.sap.sailing.gwt.ui.spectator.SpectatorEntryPoint'/>
|
||||
|
||||
<inherits name='com.sap.sailing.gwt.common.SailingLocales' />
|
||||
<!-- module containing locale configuration -->
|
||||
<inherits name='com.sap.sailing.gwt.common.SailingLocalesAllPermutations' />
|
||||
|
||||
<source path='spectator'/>
|
||||
|
||||
|
||||
+3
-2
@@ -23,7 +23,8 @@
|
||||
|
||||
<entry-point class="com.sap.sailing.gwt.ui.client.media.popup.VideoPopupWindow" />
|
||||
|
||||
<inherits name='com.sap.sailing.gwt.common.SailingLocales' />
|
||||
<!-- module containing locale configuration -->
|
||||
<inherits name='com.sap.sailing.gwt.common.SailingLocalesAllPermutations' />
|
||||
|
||||
<source path='client' />
|
||||
<source path='actions'/>
|
||||
@@ -34,4 +35,4 @@
|
||||
<source path='masterdataimport'/>
|
||||
<source path='simulator'/>
|
||||
<source path='leaderboard'/>
|
||||
</module>
|
||||
</module>
|
||||
|
||||
+6
-3
@@ -21,8 +21,11 @@
|
||||
<inherits name='com.google.gwt.maps.Maps' />
|
||||
<!-- GWT JSON Support -->
|
||||
<inherits name='com.google.gwt.json.JSON' />
|
||||
<inherits name='com.sap.sailing.gwt.common.SailingLocales' />
|
||||
<entry-point class="com.sap.sailing.gwt.ui.client.media.popup.YoutubePopupWindow" />
|
||||
|
||||
<!-- module containing locale configuration -->
|
||||
<inherits name='com.sap.sailing.gwt.common.SailingLocalesAllPermutations' />
|
||||
|
||||
<entry-point class="com.sap.sailing.gwt.ui.client.media.popup.YoutubePopupWindow" />
|
||||
|
||||
<source path='client'/>
|
||||
<source path='shared'/>
|
||||
@@ -33,4 +36,4 @@
|
||||
<source path='usermanagement'/>
|
||||
<source path='masterdataimport'/>
|
||||
<source path='leaderboard'/>
|
||||
</module>
|
||||
</module>
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@
|
||||
<!-- Other module inherits -->
|
||||
<inherits name="com.sap.sse.gwt.Settings" />
|
||||
<inherits name="com.sap.sse.Security" />
|
||||
<inherits name="com.sap.sse.security.ui.SecurityLocales" />
|
||||
<inherits name="com.sap.sse.security.ui.SecurityLocalesAllPermutations" />
|
||||
<inherits name="com.sap.sse.security.SSESecuritySerializers" />
|
||||
|
||||
<!-- Specify the app entry point class. -->
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@
|
||||
<!-- Other module inherits -->
|
||||
<inherits name="com.sap.sse.gwt.Settings" />
|
||||
<inherits name="com.sap.sse.Security" />
|
||||
<inherits name="com.sap.sse.security.ui.SecurityLocales" />
|
||||
<inherits name="com.sap.sse.security.ui.SecurityLocalesAllPermutations" />
|
||||
<inherits name="com.sap.sse.security.SSESecuritySerializers" />
|
||||
|
||||
<super-source path="jre" />
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
<inherits name='com.google.gwt.debug.Debug' />
|
||||
<inherits name="com.google.gwt.resources.Resources" />
|
||||
|
||||
<inherits name="com.sap.sse.security.ui.SecurityLocales" />
|
||||
<inherits name="com.sap.sse.security.ui.SecurityLocalesAllPermutations" />
|
||||
<inherits name="com.sap.sse.security.ui.LoginPanel"/>
|
||||
|
||||
<!-- Specify the app entry point class. -->
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
<inherits name='com.sap.sse.gwt.Settings'/>
|
||||
<inherits name="com.sap.sse.gwt.Settings" />
|
||||
<inherits name="com.sap.sse.Security" />
|
||||
<inherits name="com.sap.sse.security.ui.SecurityLocales" />
|
||||
<inherits name="com.sap.sse.security.ui.SecurityLocalesAllPermutations" />
|
||||
<inherits name="com.sap.sse.security.SSESecuritySerializers" />
|
||||
|
||||
<set-property name="gwt.logging.enabled" value="TRUE"/>
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
|
||||
<!-- Other module inherits -->
|
||||
<inherits name="com.sap.sse.gwt.Settings" />
|
||||
<inherits name="com.sap.sse.security.ui.SecurityLocales" />
|
||||
<inherits name="com.sap.sse.security.ui.SecurityLocalesAllPermutations" />
|
||||
|
||||
<!-- Specify the app entry point class. -->
|
||||
<entry-point class='com.sap.sse.security.ui.oauth.client.OAuthLoginEntryPoint'/>
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
<!-- Other module inherits -->
|
||||
<inherits name="com.sap.sse.gwt.Settings" />
|
||||
<inherits name="com.sap.sse.Security" />
|
||||
<inherits name="com.sap.sse.security.ui.SecurityLocales" />
|
||||
<inherits name="com.sap.sse.security.ui.SecurityLocalesAllPermutations" />
|
||||
<inherits name="com.sap.sse.security.SSESecuritySerializers" />
|
||||
|
||||
<super-source path="jre" />
|
||||
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.7.0//EN" "http://gwtproject.org/doctype/2.7.0/gwt-module.dtd">
|
||||
<module>
|
||||
<!--
|
||||
this gwt module is used by the build script when called with
|
||||
-b option
|
||||
and makes the compiler generate only one permutation for
|
||||
the defined language and browser below.
|
||||
-->
|
||||
<extend-property name="locale" values="de" />
|
||||
<set-property name="locale" value="de" />
|
||||
<set-property-fallback name="locale" value="de" />
|
||||
<set-property name="user.agent" value="gecko1_8" />
|
||||
</module>
|
||||
+1
-1
@@ -11,7 +11,7 @@
|
||||
|
||||
<inherits name="com.google.gwt.resources.Resources" />
|
||||
|
||||
<inherits name="com.sap.sse.security.ui.SecurityLocales" />
|
||||
<inherits name="com.sap.sse.security.ui.SecurityLocalesAllPermutations" />
|
||||
<inherits name="com.sap.sse.security.ui.LoginPanel"/>
|
||||
|
||||
<!-- Specify the app entry point class. -->
|
||||
|
||||
Reference in New Issue
Block a user