summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/tags/2.0.1-RC1/distribution/all/src/main/release/launcher/tuscany.sh
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2013-10-07 22:23:21 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2013-10-07 22:23:21 +0000
commit5963a2d3d6860fe57afc138f095bf2d2eb5a7b80 (patch)
tree018d3d8c637e265b8292d34e5f7c11ca8ce11b7d /sca-java-2.x/tags/2.0.1-RC1/distribution/all/src/main/release/launcher/tuscany.sh
parent132aa8a77685ec92bc90c03f987650d275a7b639 (diff)
Official Tuscany 2.0.1 Release
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1530096 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/tags/2.0.1-RC1/distribution/all/src/main/release/launcher/tuscany.sh')
-rw-r--r--sca-java-2.x/tags/2.0.1-RC1/distribution/all/src/main/release/launcher/tuscany.sh108
1 files changed, 0 insertions, 108 deletions
diff --git a/sca-java-2.x/tags/2.0.1-RC1/distribution/all/src/main/release/launcher/tuscany.sh b/sca-java-2.x/tags/2.0.1-RC1/distribution/all/src/main/release/launcher/tuscany.sh
deleted file mode 100644
index 2255c1c41d..0000000000
--- a/sca-java-2.x/tags/2.0.1-RC1/distribution/all/src/main/release/launcher/tuscany.sh
+++ /dev/null
@@ -1,108 +0,0 @@
-# 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
-
-#!/bin/bash
-
-# copied from tomcat catalina.sh
-# resolve links - $0 may be a softlink
-PRG="$0"
-
-while [ -h "$PRG" ]; do
- ls=`ls -ld "$PRG"`
- link=`expr "$ls" : '.*-> \(.*\)$'`
- if expr "$link" : '/.*' > /dev/null; then
- PRG="$link"
- else
- PRG=`dirname "$PRG"`/"$link"
- fi
-done
-
-# Get standard environment variables
-PRGDIR=`dirname "$PRG"`
-
-# Only set CATALINA_HOME if not already set
-[ -z "$TUSCANY_HOME" ] && TUSCANY_HOME=`cd "$PRGDIR/.." ; pwd`
-
-if [ "$1" = "/?" ] ; then
- echo "Apache Tuscany SCA runtime launcher"
- echo "TUSCANY [debug] contributions"
- echo " debug enable Java remote debugging"
- echo " contributions list of SCA contribution file names seperated by spaces. All"
- echo " deployable composites found in the contributions will be run."
- exit 1
-fi
-
-_XDEBUG=""
-if [ "$1" = "debug" ] ; then
- _XDEBUG="-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y"
- shift
-fi
-
-java $_XDEBUG -jar $TUSCANY_HOME/bin/launcher.jar "$@"
-# Licensed to the Apache Softwae Foundation (ASF) unde one
-# o moe contibuto license ageements. See the NOTICE file
-# distibuted with this wok fo additional infomation
-# egading copyight owneship. The ASF licenses this file
-# to you unde the Apache License, Vesion 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.og/licenses/LICENSE-2.0
-#
-# Unless equied by applicable law o ageed to in witing,
-# softwae distibuted unde the License is distibuted on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, eithe expess o implied. See the License fo the
-# specific language govening pemissions and limitations
-
-#!/bin/bash
-
-# copied fom tomcat catalina.sh
-# esolve links - $0 may be a softlink
-PRG="$0"
-
-while [ -h "$PRG" ]; do
- ls=`ls -ld "$PRG"`
- link=`exp "$ls" : '.*-> \(.*\)$'`
- if exp "$link" : '/.*' > /dev/null; then
- PRG="$link"
- else
- PRG=`diname "$PRG"`/"$link"
- fi
-done
-
-# Get standad envionment vaiables
-PRGDIR=`diname "$PRG"`
-
-# Only set CATALINA_HOME if not aleady set
-[ -z "$TUSCANY_HOME" ] && TUSCANY_HOME=`cd "$PRGDIR/.." ; pwd`
-
-if [ "$1" = "/?" ] ; then
- echo "Apache Tuscany SCA untime launche"
- echo "TUSCANY [debug] contibutions"
- echo " debug enable Java emote debugging"
- echo " contibutions list of SCA contibution file names sepeated by spaces. All"
- echo " deployable composites found in the contibutions will be un."
- exit 1
-fi
-
-_XDEBUG=""
-if [ "$1" = "debug" ] ; then
- _XDEBUG="-Xdebug -Xunjdwp:tanspot=dt_socket,addess=8000,seve=y,suspend=y"
- shift
-fi
-
-java $_XDEBUG -ja $TUSCANY_HOME/bin/launche.ja "$@"