Updated Branches: refs/heads/master acd08e61e -> bfcc31d9e
CLOUDSTACK-51: Outdated docs and license data present in awsapi CLOUDSTACK-53: CloudBridge installation pieces present, deprecated? Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/bfcc31d9 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/bfcc31d9 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/bfcc31d9 Branch: refs/heads/master Commit: bfcc31d9edaf5ba4e7175f897a091d043feec4fa Parents: 6ead90a Author: Prachi Damle <pra...@cloud.com> Authored: Tue Sep 11 15:26:28 2012 -0700 Committer: Prachi Damle <pra...@cloud.com> Committed: Tue Sep 11 15:26:28 2012 -0700 ---------------------------------------------------------------------- awsapi/deploy-cloud-bridge.sh | 136 ------------------------------------ 1 files changed, 0 insertions(+), 136 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/bfcc31d9/awsapi/deploy-cloud-bridge.sh ---------------------------------------------------------------------- diff --git a/awsapi/deploy-cloud-bridge.sh b/awsapi/deploy-cloud-bridge.sh deleted file mode 100644 index d24e3cc..0000000 --- a/awsapi/deploy-cloud-bridge.sh +++ /dev/null @@ -1,136 +0,0 @@ -#!/usr/bin/env bash -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -usage() { - printf "Usage: %s: -d [tomcat directory to deploy to] -z [zip file to use]\n" $(basename $0) >&2 -} - -dflag= -zflag= -tflag= -iflag= - -deploydir= -typ= - -#set -x - -while getopts 'd:z:x:h:' OPTION -do - case "$OPTION" in - d) dflag=1 - deploydir="$OPTARG" - ;; - z) zflag=1 - zipfile="$OPTARG" - ;; - h) iflag="$OPTARG" - ;; - ?) usage - exit 2 - ;; - esac -done - -if [ "$deploydir" == "" ] -then - if [ "$CATALINA_HOME" == "" ] - then - printf "Tomcat Directory to deploy to: " - read deploydir - else - deploydir="$CATALINA_HOME" - fi -fi - -if [ "$deploydir" == "" ] -then - printf "Tomcat directory was not specified, please set CATALINA_HOME environment variable'\n"; - exit 15; -fi - -printf "Check to see if the Tomcat directory exist: $deploydir\n" -if [ ! -d $deploydir ] -then - printf "Tomcat directory does not exist\n"; - exit 16; -fi - -rm -rf $deploydir/webapps/bridge -mkdir "$CATALINA_HOME/temp" -mkdir "$CATALINA_HOME/webapps/bridge" - - -if ! unzip -o ./axis2-webapp-1.5.1.war -d $deploydir/webapps/bridge -then - exit 10; -fi - -if ! cp -f services/* $deploydir/webapps/bridge/WEB-INF/services -then - exit 11; -fi - -if ! cp -f modules/* $deploydir/webapps/bridge/WEB-INF/modules -then - exit 12; -fi - -if ! cp -f rampart-lib/* $deploydir/webapps/bridge/WEB-INF/lib -then - exit 13; -fi - -if ! cp -f cloud-bridge.jar $deploydir/webapps/bridge/WEB-INF/lib -then - exit 14; -fi - -if ! cp -f lib/* $deploydir/lib -then - exit 17; -fi - -if ! cp -n conf/* $deploydir/conf -then - exit 18; -fi - -if ! cp -f classes/* $deploydir/webapps/bridge/WEB-INF/classes -then - exit 19; -fi - -if ! cp -f web.xml $deploydir/webapps/bridge/WEB-INF -then - exit 20; -fi - -if ! cp -f axis2.xml $deploydir/webapps/bridge/WEB-INF/conf -then - exit 21; -fi - -if ! rm -rf $deploydir/webapps/bridge/WEB-INF/lib/dom4j-1.6.1.jar -then - exit 22; -fi - - -printf "Installation is now complete\n" -exit 0