You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by co...@apache.org on 2015/11/18 20:37:28 UTC
bigtop git commit: BIGTOP-2150. Reversing directional build behavior
Repository: bigtop
Updated Branches:
refs/heads/master 772ff0b6f -> 4bc79fafc
BIGTOP-2150. Reversing directional build behavior
Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/4bc79faf
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/4bc79faf
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/4bc79faf
Branch: refs/heads/master
Commit: 4bc79fafc327e076297d9319349159c463d8fa9f
Parents: 772ff0b
Author: Konstantin Boudnik <co...@apache.org>
Authored: Tue Nov 17 23:58:29 2015 -0800
Committer: Konstantin Boudnik <co...@apache.org>
Committed: Tue Nov 17 23:58:29 2015 -0800
----------------------------------------------------------------------
README.md | 4 ++--
packages.gradle | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/bigtop/blob/4bc79faf/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 0460fe8..97c539b 100644
--- a/README.md
+++ b/README.md
@@ -184,8 +184,8 @@ __On all systems, Building Apache Bigtop requires certain set of tools__
* __Building packages__ : `gradle [component-name]-[rpm|deb]`
- Gradle will follow the order of the build specified by the "dependencies" section of bigtop.bom file.
- To build just a single component, e.g. hadoop without zookeeper please use -Dbuildnodeps=true.
+ If -Dbuildwithdeps=true is set, the Gradle will follow the order of the build specified in
+ the "dependencies" section of bigtop.bom file. Otherwise just a single component will get build (original behavior).
You can visualize all tasks dependencies by running `gradle tasks --all`
* __Building local YUM/APT repositories__ : `gradle [component-name]-[yum|apt]`
http://git-wip-us.apache.org/repos/asf/bigtop/blob/4bc79faf/packages.gradle
----------------------------------------------------------------------
diff --git a/packages.gradle b/packages.gradle
index ebbe185..48329d9 100644
--- a/packages.gradle
+++ b/packages.gradle
@@ -36,8 +36,8 @@ apply plugin: 'groovy'
def PACKAGES_GROUP = 'package'
final String VERBOSE = "verbose"
-final String DEPS_BUILD = "buildnodeps"
-final boolean buildDependencies = true && System.getProperty(DEPS_BUILD) == null
+final String DEPS_BUILD = "buildwithdeps"
+final boolean buildDependencies = false || System.getProperty(DEPS_BUILD) == 'true'
final String BOM = "$rootDir/bigtop.bom"
def final config = new ConfigSlurper().parse(new URL("file:$BOM"))