Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 50A9118238 for ; Mon, 24 Aug 2015 21:33:46 +0000 (UTC) Received: (qmail 27060 invoked by uid 500); 24 Aug 2015 21:33:46 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 27003 invoked by uid 500); 24 Aug 2015 21:33:46 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 26991 invoked by uid 99); 24 Aug 2015 21:33:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Aug 2015 21:33:45 +0000 Date: Mon, 24 Aug 2015 21:33:45 +0000 (UTC) From: "Allen Wittenauer (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-12257) rework build tool support; add gradle MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-12257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14710101#comment-14710101 ] Allen Wittenauer commented on HADOOP-12257: ------------------------------------------- This might help: || Phase || Maven || Ant || Gradle || autoconf || | precompile | mvn validate? | | rebuild gradlew, gradle -b bootstrap | ./configure; make deps? | | compile (see below) | mvn compile | ant jar/tar/whatever | gradle (module to compile) | make (module) | | postcompile | mvn install | | | | | postbuild | mvn javadoc | ant javadoc | gradle (module):scaladoc | ? | * The compile phase is a loop around multijdk. Sets javahome, then does whatever it needs to do a build based upon the build tool. After the build is finished, it calls javac, scalac, etc, to look at its logs, take a look at the object files, etc. These methods no longer do the builds themselves are only checking the state. This removes a lot of extra compiles. This should make it possible to to turn the loop into a matrix in the future. java_home=x,y,z scala_home=a,b,c cc=1,2,3 * build tools now have plugins. Many post-OO revolution build systems appear to do the work of calling the compiler and massaging the output to its own tastes (mvn plugins, gradle plugins, even cmake if you think about it.). So the build systems have a lot more control and should know how things should be output. So some systems like javac allow for the build tool to override its generic warning counters. > rework build tool support; add gradle > ------------------------------------- > > Key: HADOOP-12257 > URL: https://issues.apache.org/jira/browse/HADOOP-12257 > Project: Hadoop Common > Issue Type: Sub-task > Components: yetus > Affects Versions: HADOOP-12111 > Reporter: Allen Wittenauer > Assignee: Allen Wittenauer > Attachments: HADOOP-12257.HADOOP-12111.00.patch > > > We need to rework build tool support to be pluggable as well as add gradle support so that we cover more of the ecosystem. -- This message was sent by Atlassian JIRA (v6.3.4#6332)