1 | @echo off
|
---|
2 |
|
---|
3 | REM # This script checks all the congurations
|
---|
4 |
|
---|
5 | set DIR=%~dp0
|
---|
6 | cd %DIR%
|
---|
7 |
|
---|
8 | echo using JAVA_HOME:%JAVA_HOME%
|
---|
9 |
|
---|
10 | cd ifProperty\installer
|
---|
11 | echo ':::::::' checking ifProperty
|
---|
12 | call .\install.cmd %1
|
---|
13 | if not errorlevel = 0 echo "ifProperty failed"
|
---|
14 |
|
---|
15 |
|
---|
16 | cd ..\..\manytargets\artifacts
|
---|
17 | echo ':::::::' checking manytargets
|
---|
18 | %JAVA_HOME%\bin\java -jar *.jar %1
|
---|
19 | if not errorlevel = 0 echo "manytargets failed"
|
---|
20 |
|
---|
21 |
|
---|
22 | cd ..\..\nonextract\artifacts
|
---|
23 | echo ':::::::' checking nonextract
|
---|
24 | %JAVA_HOME%\bin\java -jar *.jar %1
|
---|
25 | if not errorlevel = 0 echo "nonextract failed"
|
---|
26 |
|
---|
27 |
|
---|
28 | cd ..\..\nonextract-auto\artifacts
|
---|
29 | echo ':::::::' checking nonextract-auto
|
---|
30 | %JAVA_HOME%\bin\java -jar *.jar %1
|
---|
31 | if not errorlevel = 0 echo "nonextract-auto failed"
|
---|
32 |
|
---|
33 |
|
---|
34 | cd ..\..\nonextract-jdk1.5\artifacts
|
---|
35 | echo ':::::::' checking nonextract-jdk1.5
|
---|
36 | %JAVA_HOME%\bin\java -jar *.jar %1
|
---|
37 | if not errorlevel = 0 echo "nonextract-jdk1.5 failed"
|
---|
38 |
|
---|
39 |
|
---|
40 | cd ..\..\nonextract-type\artifacts
|
---|
41 | echo ':::::::' checking nonextract-type
|
---|
42 | %JAVA_HOME%\bin\java -jar *.jar %1
|
---|
43 | if not errorlevel = 0 echo "nonextract-type failed"
|
---|
44 |
|
---|
45 |
|
---|
46 | cd ..\..\releasenotes\artifacts
|
---|
47 | echo ':::::::' checking releasenotes
|
---|
48 | %JAVA_HOME%\bin\java -jar *.jar %1
|
---|
49 | if not errorlevel = 0 echo "releasenotes failed"
|
---|
50 |
|
---|
51 |
|
---|
52 | cd ..\..\script\installer
|
---|
53 | echo ':::::::' checking script
|
---|
54 | call .\install.cmd %1
|
---|
55 | if not errorlevel = 0 echo "script failed"
|
---|
56 |
|
---|
57 |
|
---|
58 | cd ..\..\script-auto\installer
|
---|
59 | echo ':::::::' checking script-auto
|
---|
60 | call .\install.cmd %1
|
---|
61 | if not errorlevel = 0 echo "script-auto failed"
|
---|
62 |
|
---|
63 |
|
---|
64 | cd ..\..\script-graphical-pp\installer
|
---|
65 | echo ':::::::' checking script-graphical-pp
|
---|
66 | call .\install.cmd %1
|
---|
67 | if not errorlevel = 0 echo "script-graphical-pp failed"
|
---|
68 |
|
---|
69 |
|
---|
70 | cd ..\..\script-laf\installer
|
---|
71 | echo ':::::::' checking script-laf
|
---|
72 | call .\install.cmd %1
|
---|
73 | if not errorlevel = 0 echo "script-laf failed"
|
---|
74 |
|
---|
75 |
|
---|
76 | cd ..\..\script-lang\installer
|
---|
77 | echo ':::::::' checking script-lang
|
---|
78 | call .\install.cmd %1
|
---|
79 | if not errorlevel = 0 echo "script-lang failed"
|
---|
80 |
|
---|
81 |
|
---|
82 | cd ..\..\script-no-xerces\installer
|
---|
83 | echo ':::::::' checking script-no-xerces
|
---|
84 | call .\install.cmd %1
|
---|
85 | if not errorlevel = 0 echo "script-no-xerces failed"
|
---|
86 |
|
---|
87 |
|
---|
88 | cd ..\..\script-overflow\installer
|
---|
89 | echo ':::::::' checking script-overflow
|
---|
90 | call .\install.cmd %1
|
---|
91 | if not errorlevel = 0 echo "script-overflow failed"
|
---|
92 |
|
---|
93 |
|
---|
94 | cd ..\..\script-regex\installer
|
---|
95 | echo ':::::::' checking script-regex
|
---|
96 | call .\install.cmd %1
|
---|
97 | if not errorlevel = 0 echo "script-regex failed"
|
---|
98 |
|
---|
99 |
|
---|
100 | cd ..\..\script-type\installer
|
---|
101 | echo ':::::::' checking script-type
|
---|
102 | call .\install-type.cmd %1
|
---|
103 | if not errorlevel = 0 echo "script-type failed"
|
---|
104 | call .\install-type.cmd %1 -type alternative
|
---|
105 | if not errorlevel = 0 echo "script-type failed"
|
---|
106 |
|
---|
107 |
|
---|
108 | cd ..\..\script-wide\installer
|
---|
109 | echo ':::::::' checking script-wide
|
---|
110 | call .\install.cmd %1
|
---|
111 | if not errorlevel = 0 echo "script-wide failed"
|
---|
112 |
|
---|
113 |
|
---|
114 | cd ..\..\selfextract\artifacts
|
---|
115 | echo ':::::::' checking selfextract
|
---|
116 | %JAVA_HOME%\bin\java -jar *.jar %1
|
---|
117 | if not errorlevel = 0 echo "selfextract failed"
|
---|
118 |
|
---|
119 |
|
---|
120 | cd ..\..
|
---|
121 |
|
---|