Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 3dc240f073f629e17208254c4080f7dc2a3af45f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env bash

JAVA_HOME=$1
JETTY_HOME=$2
JETTY_BASE=$3

echo \${java.home}  : $JAVA_HOME
echo \${jetty.home} : $JETTY_HOME
echo \${jetty.base} : $JETTY_BASE

cd "$JETTY_BASE"

"$JAVA_HOME/bin/java" -jar "$JETTY_HOME/start.jar" \
    --approve-all-licenses \
    --add-to-start=deploy,http,annotations,websocket,cdi,logging

"$JAVA_HOME/bin/java" -jar "$JETTY_HOME/start.jar" \
    --version

Back to the top