summaryrefslogtreecommitdiffstats
path: root/deployment/zip/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/zip/pom.xml')
-rw-r--r--deployment/zip/pom.xml10
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>