diff options
author | subhash kumar singh <subhash.kumar.singh@huawei.com> | 2017-11-08 06:01:49 +0000 |
---|---|---|
committer | subhash kumar singh <subhash.kumar.singh@huawei.com> | 2017-11-08 10:22:11 +0000 |
commit | ab6474bc8ebfe212c0ad6c6fc6d61a97af56b9dd (patch) | |
tree | 7ca417362f99c993f8839236ee6af42eb14ee683 /deployment/zip/pom.xml | |
parent | 06724c100bf526b0bc403bfab0deba3ad392a3cb (diff) |
Update ant script to add +x for onap.sh
- Update pom file to add +x permission for onap.sh
- Add script for onap installtion
Change-Id: Ib894dd99c5d81df2b5827454d3c296b43db46c58
Issue-ID: CLI-71
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
Diffstat (limited to 'deployment/zip/pom.xml')
-rw-r--r-- | deployment/zip/pom.xml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/deployment/zip/pom.xml b/deployment/zip/pom.xml index f6f9d1b8..05d015c6 100644 --- a/deployment/zip/pom.xml +++ b/deployment/zip/pom.xml @@ -73,6 +73,13 @@ exclude(name: "**/.gitignore") } } + + ant.copy(todir: "${deployUnzip}") { + fileset(file: "${basedir}/installer/cli-init.sh") + } + ant.chmod(file: "${deployUnzip}/bin/onap.sh", perm: "ugo+x") + ant.chmod(file: "${deployUnzip}/cli-init.sh", perm: "ugo+x") + ant.copy(todir: "${deployUnzip}/lib") { fileset(file: @@ -102,7 +109,8 @@ } ant.zip(destfile: "${deployFolder}/${outfileName}") { - fileset(dir: "${deployUnzip}") + zipfileset(dir: "${deployUnzip}", excludes: "**/*.sh") + zipfileset(dir: "${deployUnzip}", includes: "**/*.sh", filemode: "755") } System.out.println("******** completed. ************") </source> |