mirror of https://github.com/apache/jclouds.git
updated tests to use jdk7u2
This commit is contained in:
parent
57f19a5c68
commit
fd4fb98191
|
@ -48,7 +48,7 @@ import com.google.common.collect.ImmutableSet;
|
|||
public class RunScriptData {
|
||||
|
||||
public static final URI JDK7_URL = URI.create(System.getProperty("test.jdk7-url",
|
||||
"http://download.oracle.com/otn-pub/java/jdk/7u1-b08/jdk-7u1-linux-x64.tar.gz"));
|
||||
"http://download.oracle.com/otn-pub/java/jdk/7u2-b13/jdk-7u2-linux-x64.tar.gz"));
|
||||
public static final URI JBOSS7_URL = URI.create(System.getProperty("test.jboss7-url",//
|
||||
"http://download.jboss.org/jbossas/7.0/jboss-as-7.0.2.Final/jboss-as-web-7.0.2.Final.tar.gz"));
|
||||
|
||||
|
|
|
@ -104,7 +104,7 @@ nslookup yahoo.com >/dev/null || echo nameserver 208.67.222.222 >> /etc/resolv.c
|
|||
which curl >&- 2>&-|| apt-get install -f -y -qq --force-yes curl
|
||||
which nslookup >&- 2>&-|| apt-get install -f -y -qq --force-yes dnsutils
|
||||
mkdir -p /usr/local/jdk
|
||||
curl -q -s -S -L --connect-timeout 10 --max-time 600 --retry 20 -X GET http://download.oracle.com/otn-pub/java/jdk/7u1-b08/jdk-7u1-linux-x64.tar.gz |(mkdir -p /usr/local &&cd /usr/local &&tar -xpzf -)
|
||||
curl -q -s -S -L --connect-timeout 10 --max-time 600 --retry 20 -X GET http://download.oracle.com/otn-pub/java/jdk/7u2-b13/jdk-7u2-linux-x64.tar.gz |(mkdir -p /usr/local &&cd /usr/local &&tar -xpzf -)
|
||||
mv /usr/local/jdk1.7*/* /usr/local/jdk/
|
||||
test -n "$SUDO_USER" &&
|
||||
cat >> /home/$SUDO_USER/.bashrc <<'END_OF_FILE'
|
||||
|
|
|
@ -104,7 +104,7 @@ nslookup yahoo.com >/dev/null || echo nameserver 208.67.222.222 >> /etc/resolv.c
|
|||
which curl >&- 2>&-|| apt-get install -f -y -qq --force-yes curl
|
||||
which nslookup >&- 2>&-|| apt-get install -f -y -qq --force-yes dnsutils
|
||||
mkdir -p /usr/local/jdk
|
||||
curl -q -s -S -L --connect-timeout 10 --max-time 600 --retry 20 -X GET http://download.oracle.com/otn-pub/java/jdk/7u1-b08/jdk-7u1-linux-x64.tar.gz |(mkdir -p /usr/local &&cd /usr/local &&tar -xpzf -)
|
||||
curl -q -s -S -L --connect-timeout 10 --max-time 600 --retry 20 -X GET http://download.oracle.com/otn-pub/java/jdk/7u2-b13/jdk-7u2-linux-x64.tar.gz |(mkdir -p /usr/local &&cd /usr/local &&tar -xpzf -)
|
||||
mv /usr/local/jdk1.7*/* /usr/local/jdk/
|
||||
test -n "$SUDO_USER" &&
|
||||
cat >> /home/$SUDO_USER/.bashrc <<'END_OF_FILE'
|
||||
|
|
|
@ -83,7 +83,7 @@ nslookup yahoo.com >/dev/null || echo nameserver 208.67.222.222 >> /etc/resolv.c
|
|||
which curl >&- 2>&-|| apt-get install -f -y -qq --force-yes curl
|
||||
which nslookup >&- 2>&-|| apt-get install -f -y -qq --force-yes dnsutils
|
||||
mkdir -p /usr/local/jdk
|
||||
curl -q -s -S -L --connect-timeout 10 --max-time 600 --retry 20 -X GET http://download.oracle.com/otn-pub/java/jdk/7u1-b08/jdk-7u1-linux-x64.tar.gz |(mkdir -p /usr/local &&cd /usr/local &&tar -xpzf -)
|
||||
curl -q -s -S -L --connect-timeout 10 --max-time 600 --retry 20 -X GET http://download.oracle.com/otn-pub/java/jdk/7u2-b13/jdk-7u2-linux-x64.tar.gz |(mkdir -p /usr/local &&cd /usr/local &&tar -xpzf -)
|
||||
mv /usr/local/jdk1.7*/* /usr/local/jdk/
|
||||
test -n "$SUDO_USER" &&
|
||||
cat >> /home/$SUDO_USER/.bashrc <<'END_OF_FILE'
|
||||
|
|
Loading…
Reference in New Issue