diff options
author | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-10-03 17:44:52 +0530 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-10-03 17:44:52 +0530 |
commit | f2b21b10732d743a5a0940d6565aa18b643f6604 (patch) | |
tree | 74047c98d73f9ee4d69222fa09645dc8ec0e0178 /deployment/zip | |
parent | c51d7e1fd1c4500cae7a692ff68b37001db78fdd (diff) |
Set log file under ONAP_CLI_HOME/logs
CLI-2
Change-Id: I65585cb69fe7ba71b57bf338cdc87b926a9bac51
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'deployment/zip')
-rw-r--r-- | deployment/zip/pom.xml | 6 | ||||
-rwxr-xr-x | deployment/zip/src/main/release/bin/onap.sh | 4 |
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 |