forked from vorburger/ScriptsEtcForPreSalesVM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfix_utp.sh
executable file
·23 lines (17 loc) · 827 Bytes
/
fix_utp.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
set -e
set -x
rm -rf Temenos/EDS
rm -rf Temenos/Java
chmod +x $1/jboss/bin/*.sh
# rm $1/TAFJ/bin/*.bat
chmod +x $1/TAFJ/bin/*
dos2unix $1/TAFJ/bin/*
# https://github.com/temenostech/Hothouse/issues/987 is *STILL* NOK :-(
sed -i 's/\\/\//g' $1/TAFJ/conf/tafj.properties
# Another Windows/Linux cross platform issue.. it's wrong to catch up one-by-one; the package used should use the TAFJ Maven plug-in to create the TAFJ home instead :(
sed -i 's/Primary.jar;/Primary.jar:/g' $1/TAFJ/conf/tafj.properties
# Actually, OMG! This JAR *duplicates* T24 classes and can never work, so rm:
rm $1/jboss/modules/com/temenos/t24/main/Primary.jar
# https://github.com/temenostech/Hothouse/issues/162 is *STILL* NOK :-(
mv $1/jboss/modules/com/temenos/t24/main/Module.xml $1/jboss/modules/com/temenos/t24/main/module.xml