aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/zip/src/main/release/bin
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-08-29 18:13:06 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-08-29 18:31:00 +0530
commit56ecabe9f1e7fca51d919df2836811b378c0e7df (patch)
tree0b528951c44b743c1c4b15f3141f681f68103546 /deployment/zip/src/main/release/bin
parent271c2be98055b1e37878e99f968c78290b223bc9 (diff)
Fix classpath to include docs and conf
CLI-37 Change-Id: Iba7be18c12fd242c966eb7567dad401e82bc5149 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'deployment/zip/src/main/release/bin')
-rwxr-xr-xdeployment/zip/src/main/release/bin/onap.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/deployment/zip/src/main/release/bin/onap.sh b/deployment/zip/src/main/release/bin/onap.sh
index 9650ccd1..4009a265 100755
--- a/deployment/zip/src/main/release/bin/onap.sh
+++ b/deployment/zip/src/main/release/bin/onap.sh
@@ -22,7 +22,7 @@ then
exit 1
fi
-CLASSPATH=$ONAP_CLI_HOME
+CLASSPATH=$ONAP_CLI_HOME:$ONAP_CLI_HOME/conf:$ONAP_CLI_HOME/docs
for entry in "$ONAP_CLI_HOME/lib"/*
do
CLASSPATH=$CLASSPATH:$entry
@@ -30,8 +30,7 @@ done
if [ "$ONAP_CLI_DEBUG" = "true" ]
then
- ${ONAP_CLI_DEBUG_PORT:=5005}
- java -Xdebug -Xrunjdwp:transport=dt_socket,address=$ONAP_CLI_DEBUG_PORT,server=y -classpath $CLASSPATH org.onap.cli.main.OnapCli "$@"
+ java -Xdebug -Xrunjdwp:transport=dt_socket,address=${ONAP_CLI_DEBUG_PORT:-5005},server=y -classpath $CLASSPATH org.onap.cli.main.OnapCli "$@"
else
java -classpath $CLASSPATH org.onap.cli.main.OnapCli "$@"
fi