-
-
Notifications
You must be signed in to change notification settings - Fork 30
/
build.cmd
30 lines (24 loc) · 1.22 KB
/
build.cmd
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
call mvn clean package -Dmaven.test.skip=true
cd target
rename pade-openfire-plugin-assembly.jar pade.jar
rd "D:\Openfire\openfire_4_9_0\plugins\pade" /q /s
del "D:\Openfire\openfire_4_9_0\plugins\pade.jar"
del /q "D:\Openfire\openfire_4_9_0\logs\*.*"
copy pade.jar D:\Openfire\openfire_4_9_0\plugins\pade.jar
rd "D:\Projects\openfire-cluster\node1\plugins\pade" /q /s
del "D:\Projects\openfire-cluster\node1\plugins\pade.jar"
del /q "D:\Projects\openfire-cluster\node1\logs\*.*"
copy pade.jar D:\Projects\openfire-cluster\node1\plugins\pade.jar
rd "D:\Projects\openfire-cluster\node2\plugins\pade" /q /s
del "D:\Projects\openfire-cluster\node2\plugins\pade.jar"
del /q "D:\Projects\openfire-cluster\node2\logs\*.*"
copy pade.jar D:\Projects\openfire-cluster\node2\plugins\pade.jar
rd "D:\Projects\openfire-fmuc\node1\plugins\pade" /q /s
del "D:\Projects\openfire-fmuc\node1\plugins\pade.jar"
del /q "D:\Projects\openfire-fmuc\node1\logs\*.*"
copy pade.jar D:\Projects\openfire-fmuc\node1\plugins\pade.jar
rd "D:\Projects\openfire-fmuc\node2\plugins\pade" /q /s
del "D:\Projects\openfire-fmuc\node2\plugins\pade.jar"
del /q "D:\Projects\openfire-fmuc\node2\logs\*.*"
copy pade.jar D:\Projects\openfire-fmuc\node2\plugins\pade.jar
pause