forked from AlmasB/CI553-CW
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cat_jar.sh
50 lines (42 loc) · 1.22 KB
/
cat_jar.sh
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
46
47
48
49
50
# script to build the jar file version of CatShop
# command to run this from jenkins is
# $WORKSPACE/cat_jar.sh
# Note: if you add new clients to catshop, you need to add them to the list
# of files to compile here
# Note2: there is no script to update the Manifest files (there is code for
# it in the Makefile). If there was, it should probably be run first
# You could write another script and a Jenkins pipleine task to test running
# CatShop from the jar file(s) instead of the main directory
. cat_defs.sh
jar cfm catshop.jar \
Manifest.MF \
catalogue/*.class \
middle/*.class \
dbAccess/*.class \
orders/*.class \
clients/*.class \
remote/*.class \
debug/*.class \
clients/backDoor/*.class \
clients/cashier/*.class \
clients/collection/*.class \
clients/customer/*.class \
clients/shopDisplay/*.class \
clients/warehousePick/*.class \
DataBase.txt \
jar cfm setup.jar \
Manifest2.MF \
catalogue/*.class \
middle/*.class \
dbAccess/*.class \
orders/*.class \
clients/*.class \
remote/*.class \
debug/*.class \
clients/backDoor/*.class \
clients/cashier/*.class \
clients/collection/*.class \
clients/customer/*.class \
clients/shopDisplay/*.class \
clients/warehousePick/*.class \
DataBase.txt \