tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject [1/2] tomee git commit: TOMEE-1628 writing to not use start/stop commands from tomee.sh
Date Sun, 30 Aug 2015 20:52:37 GMT
Repository: tomee
Updated Branches:
  refs/heads/master 3895b3540 -> 6014cf207


TOMEE-1628 writing to not use start/stop commands from tomee.sh


Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/6b97067d
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/6b97067d
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/6b97067d

Branch: refs/heads/master
Commit: 6b97067da87ce08c62309ea3947beffed447c95c
Parents: 3895b35
Author: Romain Manni-Bucau <rmannibu@gmail.com>
Authored: Sun Aug 30 22:50:13 2015 +0200
Committer: Romain Manni-Bucau <rmannibu@gmail.com>
Committed: Sun Aug 30 22:50:13 2015 +0200

----------------------------------------------------------------------
 tomee/apache-tomee/src/main/resources/tomee.sh | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/6b97067d/tomee/apache-tomee/src/main/resources/tomee.sh
----------------------------------------------------------------------
diff --git a/tomee/apache-tomee/src/main/resources/tomee.sh b/tomee/apache-tomee/src/main/resources/tomee.sh
index 81c9098..e5e09cf 100644
--- a/tomee/apache-tomee/src/main/resources/tomee.sh
+++ b/tomee/apache-tomee/src/main/resources/tomee.sh
@@ -80,6 +80,9 @@ if [ "$1" = "deploy" ] || [ "$1" = "undeploy" ]; then
     else
         echo "Usage: <tomee.sh> $1 <path>"
     fi
+elif [ "$1" = "start" ] || [ "$1" = "stop" ]; then
+    echo "To start or stop TomEE please use catalina.sh/startup.sh/shutdown.sh instead of
tomee.sh"
 else
     $JAVA $DEBUG -Dopenejb.base="$TOMEE_HOME" -cp "\"$CP\"" org.apache.openejb.cli.Bootstrap
$*
 fi
+


Mime
View raw message