-
Notifications
You must be signed in to change notification settings - Fork 25
/
Builder.bat
104 lines (104 loc) · 3.86 KB
/
Builder.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
@ECHO off
@COLOR 0C
SET MODE=clean package
SET TITLE=Build
TITLE Aion-Core v4.7.5.x by GiGatR00n
:MENU
CLS
ECHO.
ECHO ^*--------------------------------------------------------------------------^*
ECHO ^| Aion Core v4.7.5x by GiGatR00n - %TITLE% Panel ^|
ECHO ^*--------------------------------------------------------------------------^*
ECHO ^| ^|
ECHO ^| 1 - Build Login server 6 - Build mode ^|
ECHO ^| 2 - Build Game server 7 - Install Clean mode ^|
ECHO ^| 3 - Build Chat server 8 - Debug mode ^|
ECHO ^| 4 - Build Commons 9 - Quit ^|
ECHO ^| 5 - Build All ^|
ECHO ^*--------------------------------------------------------------------------^*
ECHO.
:ENTER
SET /P OPTION=Type your option and press ENTER:
IF %OPTION% == 1 (
CLS
TITLE Aion Lightning - %TITLE%ing Login server
CD AC-Login
start ..\AC-Tools\Ant\bin\ant
)
IF %OPTION% == 2 (
CLS
TITLE Aion Lightning - %TITLE%ing Game Server
CD AC-Game
start ..\AC-Tools\Ant\bin\ant
)
IF %OPTION% == 3 (
CLS
TITLE Aion Lightning - %TITLE%ing Chat Server
CD AC-Chat
start ..\AC-Tools\Ant\bin\ant
)
IF %OPTION% == 4 (
CLS
TITLE Aion Lightning - %TITLE%ing Commons Server
CALL build_maven_commons.bat
)
IF %OPTION% == 5 (
CLS
TITLE Aion Lightning - %TITLE%ing All Project
CD AC-Login
start ..\AC-Tools\Ant\bin\ant
CD ../AC-Game
start ..\AC-Tools\Ant\bin\ant
CD ../AC-Chat
start ..\AC-Tools\Ant\bin\ant
CALL build_maven_commons.bat
)
IF %OPTION% == 6 (
GOTO :MENU
)
IF %OPTION% == 7 (
CLS
SET MODE=clean install
SET TITLE=Install
TITLE Aion Lightning - Install Panel
ECHO.
ECHO ^*--------------------------------------------------------------------------^*
ECHO ^| Aion Core v4.7.5x by GiGatR00n - %TITLE% Panel ^|
ECHO ^*--------------------------------------------------------------------------^*
ECHO ^| ^|
ECHO ^| 1 - Install Login server 6 - Build mode ^|
ECHO ^| 2 - Install Game server 7 - Install mode ^|
ECHO ^| 3 - Install Chat server 8 - Debug mode ^|
ECHO ^| 4 - Install Commons 9 - Quit ^|
ECHO ^| 5 - Install All ^|
ECHO ^| ^|
ECHO ^*--------------------------------------------------------------------------^*
ECHO.
GOTO :ENTER
)
IF %OPTION% == 8 (
CLS
SET MODE=clean package -e -X
SET TITLE=Debug
TITLE Aion Lightning - Debug Panel
ECHO.
ECHO ^*--------------------------------------------------------------------------^*
ECHO ^| Aion Core v4.7.5x by GiGatR00n - %TITLE% Panel ^|
ECHO ^*--------------------------------------------------------------------------^*
ECHO ^| ^|
ECHO ^| 1 - Debug Login server 6 - Build mode ^|
ECHO ^| 2 - Debug Game server 7 - Install mode ^|
ECHO ^| 3 - Debug Chat server 8 - Debug mode ^|
ECHO ^| 4 - Debug Commons 9 - Quit ^|
ECHO ^| 5 - Debug All ^|
ECHO ^| ^|
ECHO ^*--------------------------------------------------------------------------^*
ECHO.
GOTO :ENTER
)
IF %OPTION% == 9 (
EXIT
)
IF %OPTION% GEQ 10 (
GOTO :MENU
)