Return-Path: X-Original-To: apmail-hadoop-common-commits-archive@www.apache.org Delivered-To: apmail-hadoop-common-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A958AF250 for ; Sat, 23 Mar 2013 03:41:57 +0000 (UTC) Received: (qmail 71180 invoked by uid 500); 23 Mar 2013 03:41:57 -0000 Delivered-To: apmail-hadoop-common-commits-archive@hadoop.apache.org Received: (qmail 71081 invoked by uid 500); 23 Mar 2013 03:41:56 -0000 Mailing-List: contact common-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-commits@hadoop.apache.org Received: (qmail 71047 invoked by uid 99); 23 Mar 2013 03:41:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Mar 2013 03:41:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Mar 2013 03:41:52 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 0DEED23888CD for ; Sat, 23 Mar 2013 03:41:32 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1460086 - /hadoop/common/trunk/BUILDING.txt Date: Sat, 23 Mar 2013 03:41:31 -0000 To: common-commits@hadoop.apache.org From: szetszwo@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130323034132.0DEED23888CD@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: szetszwo Date: Sat Mar 23 03:41:31 2013 New Revision: 1460086 URL: http://svn.apache.org/r1460086 Log: HADOOP-9353. Activate native-win maven profile by default on Windows. Contributed by Arpit Agarwal Modified: hadoop/common/trunk/BUILDING.txt Modified: hadoop/common/trunk/BUILDING.txt URL: http://svn.apache.org/viewvc/hadoop/common/trunk/BUILDING.txt?rev=1460086&r1=1460085&r2=1460086&view=diff ============================================================================== --- hadoop/common/trunk/BUILDING.txt (original) +++ hadoop/common/trunk/BUILDING.txt Sat Mar 23 03:41:31 2013 @@ -107,7 +107,7 @@ When you import the project to eclipse, $ cd hadoop-maven-plugins $ mvn install -Then, generate ecplise project files. +Then, generate eclipse project files. $ mvn eclipse:eclipse -DskipTests @@ -147,10 +147,10 @@ Requirements: * Windows System * JDK 1.6 * Maven 3.0 -* Findbugs 1.3.9 (if running findbugs) +* Windows SDK or Visual Studio 2010 Professional * ProtocolBuffer 2.4.1+ (for MapReduce and HDFS) +* Findbugs 1.3.9 (if running findbugs) * Unix command-line tools from GnuWin32 or Cygwin: sh, mkdir, rm, cp, tar, gzip -* Windows SDK or Visual Studio 2010 Professional * Internet connection for first build (to fetch all Maven and Hadoop dependencies) If using Visual Studio, it must be Visual Studio 2010 Professional (not 2012). @@ -185,23 +185,13 @@ set Platform=Win32 (when building on a 3 Several tests require that the user must have the Create Symbolic Links privilege. -All Maven goals are the same as described above, with the addition of profile --Pnative-win to trigger building Windows native components. The native -components are required (not optional) on Windows. For example: - - * Run tests : mvn -Pnative-win test +All Maven goals are the same as described above with the exception that +native code is built by enabling the 'native-win' Maven profile. -Pnative-win +is enabled by default when building on Windows since the native components +are required (not optional) on Windows. ---------------------------------------------------------------------------------- Building distributions: -Create binary distribution with native code and with documentation: - - $ mvn package -Pdist,native-win,docs -DskipTests -Dtar - -Create source distribution: - - $ mvn package -Pnative-win,src -DskipTests - -Create source and binary distributions with native code and documentation: + * Build distribution with native code : mvn package [-Pdist][-Pdocs][-Psrc][-Dtar] - $ mvn package -Pdist,native-win,docs,src -DskipTests -Dtar