summaryrefslogtreecommitdiffstats
path: root/deliveries/src/main/scripts/localize_war.sh
diff options
context:
space:
mode:
authorkurczews <krzysztof.kurczewski@nokia.com>2018-09-19 08:17:52 +0200
committerkurczews <krzysztof.kurczewski@nokia.com>2018-09-19 10:06:18 +0200
commit7b8621da349c49a111bd6822888ce3df76c1c027 (patch)
tree027060f0d43584f349776eab3f98e983fd2772bf /deliveries/src/main/scripts/localize_war.sh
parente40ad0f69d7e1241dbb0fd17412067353c44eb85 (diff)
Improve localize scripts
Improve scripts to avoid unecessary WAR repackaging. Tomcat extracts WAR content when deployed so there is no need to repackage whole WAR (time-costly operation) in order to update template properties Issue-ID: VID-164 Change-Id: I2aa2db915ba7408cf9da51a28695c4890c369312 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
Diffstat (limited to 'deliveries/src/main/scripts/localize_war.sh')
-rwxr-xr-xdeliveries/src/main/scripts/localize_war.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/deliveries/src/main/scripts/localize_war.sh b/deliveries/src/main/scripts/localize_war.sh
index f0669e0e6..99cb177ed 100755
--- a/deliveries/src/main/scripts/localize_war.sh
+++ b/deliveries/src/main/scripts/localize_war.sh
@@ -1,31 +1,31 @@
#!/bin/bash
-source /tmp/vid/localize_logback.sh || {
+source /tmp/vid/localize_logback.sh $1 || {
echo "ERROR: Localizing logback.xml failed"
exit 1
}
-source /tmp/vid/localize_portal.sh || {
+source /tmp/vid/localize_portal.sh $1 || {
echo "ERROR: Localizing portal.properties failed"
exit 1
}
-source /tmp/vid/localize_quartz.sh || {
+source /tmp/vid/localize_quartz.sh $1 || {
echo "ERROR: Localizing quartz.properties failed"
exit 1
}
-source /tmp/vid/localize_system.sh || {
+source /tmp/vid/localize_system.sh $1 || {
echo "ERROR: Localizing system.properties failed"
exit 1
}
-source /tmp/vid/localize_cache.sh || {
+source /tmp/vid/localize_cache.sh $1 || {
echo "ERROR: Localizing cache.ccf failed"
exit 1
}
-source /tmp/vid/localize_asdc.sh || {
+source /tmp/vid/localize_asdc.sh $1 || {
echo "ERROR: Localizing asdc.properties failed"
exit 1
}