-
Notifications
You must be signed in to change notification settings - Fork 6
/
update.bat
45 lines (44 loc) · 905 Bytes
/
update.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
cd ..
cd bc-framework
echo "--------bc-framework"
git status
git pull origin master
mvn install -DskipTests=true
cd ..
cd bc-demo
echo "--------bc-demo"
git status
git pull origin master
ant build
cd src/main/webapp/bc
echo "--------bc-demo/src/main/webapp/bc"
git status
git pull origin master
cd ..
cd bc-test
echo "--------bc-demo/src/main/webapp/bc-test"
git status
git pull origin master
cd ..
cd ui-libs
echo "--------bc-demo/src/main/webapp/ui-libs"
git status
git pull origin master
cd ..
cd ui-libs-demo
echo "--------bc-demo/src/main/webapp/ui-libs-demo"
git status
git pull origin master
cd ..
cd ..
cd resources/db
echo "--------bc-demo/src/main/resources/db"
mysql -ubcdemo -pbcdemo bcdemo < db.mysql.drop.sql
mysql -ubcdemo -pbcdemo bcdemo < db.mysql.create.sql
mysql -ubcdemo -pbcdemo bcdemo < db.mysql.data.sql
cd ..
cd ..
cd ..
cd ..
echo "--------bc-demo"
mvn jetty:run -Dapp.debug=true