summaryrefslogtreecommitdiffstats
path: root/deployment
diff options
context:
space:
mode:
Diffstat (limited to 'deployment')
-rw-r--r--deployment/zip/pom.xml6
-rwxr-xr-xdeployment/zip/src/main/release/bin/onap.sh4
2 files changed, 8 insertions, 2 deletions
diff --git a/deployment/zip/pom.xml b/deployment/zip/pom.xml
index eb214e42..f6f9d1b8 100644
--- a/deployment/zip/pom.xml
+++ b/deployment/zip/pom.xml
@@ -90,6 +90,12 @@
}
ant.copy(todir:
+ "${deployUnzip}/conf") {
+ fileset(file:
+ "${project.build.directory}/../../../framework/src/main/resources/log4j.properties")
+ }
+
+ ant.copy(todir:
"${deployUnzip}/docs") {
fileset(file:
"${project.build.directory}/../../../README.md")
diff --git a/deployment/zip/src/main/release/bin/onap.sh b/deployment/zip/src/main/release/bin/onap.sh
index 4009a265..c7d4142a 100755
--- a/deployment/zip/src/main/release/bin/onap.sh
+++ b/deployment/zip/src/main/release/bin/onap.sh
@@ -30,7 +30,7 @@ done
if [ "$ONAP_CLI_DEBUG" = "true" ]
then
- java -Xdebug -Xrunjdwp:transport=dt_socket,address=${ONAP_CLI_DEBUG_PORT:-5005},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 -DONAP_CLI_HOME=$ONAP_CLI_HOME org.onap.cli.main.OnapCli "$@"
else
- java -classpath $CLASSPATH org.onap.cli.main.OnapCli "$@"
+ java -classpath $CLASSPATH -DONAP_CLI_HOME=$ONAP_CLI_HOME org.onap.cli.main.OnapCli "$@"
fi