summaryrefslogtreecommitdiffstats
path: root/deployment/zip
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/zip')
-rw-r--r--deployment/zip/pom.xml11
-rwxr-xr-xdeployment/zip/src/main/release/bin/onap.sh5
2 files changed, 13 insertions, 3 deletions
diff --git a/deployment/zip/pom.xml b/deployment/zip/pom.xml
index 22c1cddf..eb214e42 100644
--- a/deployment/zip/pom.xml
+++ b/deployment/zip/pom.xml
@@ -83,6 +83,17 @@
"${project.build.directory}/../../../plugins/target/lib/")
}
+ ant.copy(todir:
+ "${deployUnzip}/conf") {
+ fileset(file:
+ "${project.build.directory}/../../../framework/src/main/resources/onap.properties")
+ }
+
+ ant.copy(todir:
+ "${deployUnzip}/docs") {
+ fileset(file:
+ "${project.build.directory}/../../../README.md")
+ }
ant.zip(destfile:
"${deployFolder}/${outfileName}") {
fileset(dir: "${deployUnzip}")
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