@@ -8,7 +8,7 @@ LIBERTY_URL="https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/wasd
8
8
9
9
if [ " ${1} " == " glassfish-bundled" ]; then
10
10
11
- curl -s -o glassfish5.zip " ${GLASSFISH_URL} "
11
+ curl -L - s -o glassfish5.zip " ${GLASSFISH_URL} "
12
12
unzip -q glassfish5.zip
13
13
mvn -B -V -Pbundled clean install
14
14
find ./examples/ -name \* .war -exec cp {} ./glassfish5/glassfish/domains/domain1/autodeploy/ \;
@@ -19,7 +19,7 @@ if [ "${1}" == "glassfish-bundled" ]; then
19
19
20
20
elif [ " ${1} " == " glassfish-module" ]; then
21
21
22
- curl -s -o glassfish5.zip " ${GLASSFISH_URL} "
22
+ curl -L - s -o glassfish5.zip " ${GLASSFISH_URL} "
23
23
unzip -q glassfish5.zip
24
24
mvn -B -V -P\! bundled,module clean install
25
25
cp core/target/ozark-core-* .jar ./glassfish5/glassfish/modules/
@@ -33,7 +33,7 @@ elif [ "${1}" == "glassfish-module" ]; then
33
33
34
34
elif [ " ${1} " == " tck-glassfish" ]; then
35
35
36
- curl -s -o glassfish5.zip " ${GLASSFISH_URL} "
36
+ curl -L - s -o glassfish5.zip " ${GLASSFISH_URL} "
37
37
unzip -q glassfish5.zip
38
38
mvn -B -V -DskipTests clean install
39
39
glassfish5/bin/asadmin start-domain
@@ -45,7 +45,7 @@ elif [ "${1}" == "tck-glassfish" ]; then
45
45
46
46
elif [ " ${1} " == " tck-wildfly" ]; then
47
47
48
- curl -s -o wildfly.tgz " ${WILDFLY_URL} "
48
+ curl -L - s -o wildfly.tgz " ${WILDFLY_URL} "
49
49
tar -xzf wildfly.tgz
50
50
mvn -B -V -DskipTests clean install
51
51
LAUNCH_JBOSS_IN_BACKGROUND=1 JBOSS_PIDFILE=wildfly.pid ./wildfly-14.0.0.Final/bin/standalone.sh > wildfly.log 2>&1 &
@@ -64,7 +64,7 @@ elif [ "${1}" == "tck-tomee" ]; then
64
64
65
65
elif [ " ${1} " == " tck-liberty" ]; then
66
66
67
- curl -s -o wlp.zip " ${LIBERTY_URL} "
67
+ curl -L - s -o wlp.zip " ${LIBERTY_URL} "
68
68
unzip wlp.zip
69
69
cp .travis/wlp-server-template.xml wlp/templates/servers/defaultServer/server.xml
70
70
LIBERTY_HOME=" $( cd ./wlp/ && pwd ) "
0 commit comments