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 <[email protected]> Authored: Sun Aug 30 22:50:13 2015 +0200 Committer: Romain Manni-Bucau <[email protected]> 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 +
