Interactive interface for browsing global, full-resolution satellite imagery
Updated publish scripts -- deploy now occurs in the script, and different branches can be published either to preview or qa
Worldview Team7f151bca0d73
diff --git a/build.xml b/build.xmlindex cc745e1e3..5ce70977a 100644--- a/build.xml+++ b/build.xml@@ -6,7 +6,6 @@<property file="build.properties"/><property file="${src.ant.dir}/depend.properties"/>- <property file="${src.ant.dir}/deploy.properties"/><include><fileset dir="${src.depend.dir}" includes="${build.depends}"/>@@ -302,17 +301,4 @@compression="bzip2"/></target>- <target name="deploy" depends="dist">- <scp todir="${deploy.user}@${deploy.host}:${deploy.dir}/artifacts" trust="true"- keyfile="${user.home}/.ssh/id_rsa">- <fileset dir="${dist.dir}">- <include name="*.tar.bz2"/>- </fileset>- </scp>- <sshexec host="${deploy.host}"- username="${deploy.user}"- keyfile="${user.home}/.ssh/id_rsa"- command="rm -rf ${deploy.dir}/worldview*; ( cd ${deploy.dir}; rm -f worldview* ; find artifacts -name '*.tar.bz2' -exec tar xf {} \; ; chmod g+wx worldview* ; rm -r artifacts/*)"/>- </target>-</project>diff --git a/deploy/create-nightly b/deploy/create-nightlydeleted file mode 100755index 5580463ca..000000000--- a/deploy/create-nightly+++ /dev/null@@ -1,29 +0,0 @@-#!/bin/bash-#-# NASA Worldview-#-# This code was originally developed at NASA/Goddard Space Flight Center for-# the Earth Science Data and Information System (ESDIS) project.-#-# Copyright (C) 2013 United States Government as represented by the-# Administrator of the National Aeronautics and Space Administration.-# All Rights Reserved.-#--BASEDIR=$(dirname "$0")/..-TODAY=$(date "+%Y.%m.%d")--ant -f $BASEDIR/build.xml clean web doc--sed -i "" -E "s/\.(js|css)\?v=[^\"]+/&-$TODAY/g" \- $BASEDIR/build/{worldview,worldview-debug}/index.html-sed -i "" -E "s/VERSION = \"[^\"]+/&-$TODAY/g" \- $BASEDIR/build/worldview-debug/js/Worldview.js-sed -i "" -E "s/VERSION=\"[^\"]+/&-$TODAY/g" \- $BASEDIR/build/worldview/js/worldview-min.js--ant -f $BASEDIR/build.xml artifacts----diff --git a/dev/publish/publish-worldview-latest b/dev/publish/publish-worldview-latestindex 5e090bd1b..c36a8a923 100755--- a/dev/publish/publish-worldview-latest+++ b/dev/publish/publish-worldview-latest@@ -9,21 +9,8 @@# Administrator of the National Aeronautics and Space Administration.# All Rights Reserved.#-set -e+exec publish-worldview preview latest-PROG=$(basename "$0")--die() {- echo "$PROG: ERROR: $@" >&2- exit 1-}--SOURCE_DIR=~/src/worldview--[ -e "$SOURCE_DIR" ] || die "No such directory: $SOURCE_DIR"--( cd "$SOURCE_DIR" ; git pull )-ant -f "$SOURCE_DIR/build.xml" deploy