Repository: incubator-hawq Updated Branches: refs/heads/master 6169d801c -> c59dcd416
HAWQ-1523. Provide ability to bundle PXF artifacts into a single tarball Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/c59dcd41 Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/c59dcd41 Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/c59dcd41 Branch: refs/heads/master Commit: c59dcd4161dc1693c197aff6a1c0334605d81ff8 Parents: 6169d80 Author: Lav Jain <[email protected]> Authored: Tue Aug 29 16:15:08 2017 -0700 Committer: shivzone <[email protected]> Committed: Tue Aug 29 16:15:08 2017 -0700 ---------------------------------------------------------------------- pxf/Makefile | 6 +++++- pxf/build.gradle | 7 +++++++ 2 files changed, 12 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c59dcd41/pxf/Makefile ---------------------------------------------------------------------- diff --git a/pxf/Makefile b/pxf/Makefile index 7405878..da83cc8 100644 --- a/pxf/Makefile +++ b/pxf/Makefile @@ -53,7 +53,8 @@ help: @echo " - - PLUGINS_EXCLUDE_RPM=plugin1, plugin2,... - do not build and RPM for given comma-separated list of plugins" @echo " - tomcat - builds tomcat rpm from downloaded tarball" @echo " - - LICENSE and VENDOR parameters can be used as well" - @echo " - deploy - setup PXF along with tomcat in the configured deployPath" + @echo " - install - setup PXF along with tomcat in the configured deployPath" + @echo " - bundle - bundle PXF along with tomcat into a single tarball" @echo " - doc - creates aggregate javadoc under docs" all: @@ -86,3 +87,6 @@ tomcat: install: ./gradlew install $(BUILD_PARAMS) + +bundle: + ./gradlew bundle $(BUILD_PARAMS) http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c59dcd41/pxf/build.gradle ---------------------------------------------------------------------- diff --git a/pxf/build.gradle b/pxf/build.gradle index 6f10dbb..52e4020 100644 --- a/pxf/build.gradle +++ b/pxf/build.gradle @@ -616,6 +616,13 @@ task install(type: Copy, dependsOn: [subprojects.build, tomcatGet]) { from("pxf-service/src/configs/tomcat") { into 'tomcat-templates' } } +task bundle(type: Tar) { + baseName = "${project.name}" + compression = Compression.GZIP + extension = 'tar.gz' + from install.outputs.files + into "${project.name}" +} buildDir = '.' apply plugin: 'nebula-aggregate-javadocs'
