You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by rm...@apache.org on 2017/06/15 09:29:03 UTC

tomee git commit: TOMEE-2056 better help for deploy/undeploy

Repository: tomee
Updated Branches:
  refs/heads/master 3684660ea -> 86ad10311


TOMEE-2056 better help for deploy/undeploy


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

Branch: refs/heads/master
Commit: 86ad10311cdc167d0abf2ae4b36b7f77a227c159
Parents: 3684660
Author: rmannibucau <rm...@apache.org>
Authored: Thu Jun 15 11:28:56 2017 +0200
Committer: rmannibucau <rm...@apache.org>
Committed: Thu Jun 15 11:28:56 2017 +0200

----------------------------------------------------------------------
 tomee/apache-tomee/src/main/resources/tomee.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/86ad1031/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 0b95dca..e5b3c00 100644
--- a/tomee/apache-tomee/src/main/resources/tomee.sh
+++ b/tomee/apache-tomee/src/main/resources/tomee.sh
@@ -125,7 +125,7 @@ if [ "$1" = "deploy" ] || [ "$1" = "undeploy" ]; then
         echo "${1}ing $2"
         "$_RUNJAVA" $DEBUG $LOGGING_MANAGER -Dopenejb.base="$CATALINA_BASE" -cp "$CLASSPATH" org.apache.openejb.cli.Bootstrap $1 -s auto $2
     else
-        echo "Usage: <tomee.sh> $1 <path>"
+        "$_RUNJAVA" $DEBUG $LOGGING_MANAGER -Dopenejb.base="$CATALINA_BASE" -cp "$CLASSPATH" org.apache.openejb.cli.Bootstrap
     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"