From d9644a03d0e7ad0ad1b12867856abb4dbbafdd1e Mon Sep 17 00:00:00 2001 From: qadan Date: Wed, 14 Oct 2015 12:17:53 -0300 Subject: [PATCH] rest of the script --- tests/scripts/travis_setup.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/scripts/travis_setup.sh b/tests/scripts/travis_setup.sh index e619b033..b5cea273 100755 --- a/tests/scripts/travis_setup.sh +++ b/tests/scripts/travis_setup.sh @@ -8,6 +8,8 @@ mysql -u root -e "GRANT ALL PRIVILEGES ON drupal.* To 'drupal'@'localhost' IDENT # Java 8, if needed. if [ $FEDORA_VERSION = "3.8.1" ]; then + sudo add-apt-repository -y ppa:webupd8team/java + sudo apt-get update sudo apt-get install -y oracle-java8-installer oracle-java8-set-default sudo update-java-alternatives -s java-8-oracle export JAVA_HOME=/usr/lib/jvm/java-8-oracle @@ -21,6 +23,10 @@ tar xf islandora_tomcat.$FEDORA_VERSION.tar.gz cd islandora_tomcat export CATALINA_HOME='.' export JAVA_OPTS="-Xms1024m -Xmx1024m -XX:MaxPermSize=512m -XX:+CMSClassUnloadingEnabled -Djavax.net.ssl.trustStore=$CATALINA_HOME/fedora/server/truststore -Djavax.net.ssl.trustStorePassword=tomcat" +# TODO: roll a Fedora 3.8.1 islandora_tomcat that doesn't require a rebuild. +if [ $FEDORA_VERSION = "3.8.1" ]; then + ./fedora/server/bin/fedora-rebuild.sh -r org.fcrepo.server.utilities.rebuild.SQLRebuilder +fi ./bin/startup.sh # Drush installation.