Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 11FC79F6F for ; Sat, 18 Feb 2012 09:27:23 +0000 (UTC) Received: (qmail 78214 invoked by uid 500); 18 Feb 2012 09:27:22 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 78177 invoked by uid 500); 18 Feb 2012 09:27:22 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 78166 invoked by uid 99); 18 Feb 2012 09:27:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Feb 2012 09:27:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Feb 2012 09:27:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 879FB1BE3DD for ; Sat, 18 Feb 2012 09:26:59 +0000 (UTC) Date: Sat, 18 Feb 2012 09:26:59 +0000 (UTC) From: "Changming Sun (Updated) (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <1297774529.53867.1329557219556.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <971126340.53822.1329554041962.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (MAPREDUCE-3881) building fail under Windows MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MAPREDUCE-3881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Changming Sun updated MAPREDUCE-3881: ------------------------------------- Attachment: pom.xml.patch > building fail under Windows > --------------------------- > > Key: MAPREDUCE-3881 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-3881 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: build > Environment: D:\os\hadoopcommon>mvn --version > Apache Maven 3.0.4 (r1232337; 2012-01-17 16:44:56+0800) > Maven home: C:\portable\maven\bin\.. > Java version: 1.7.0_02, vendor: Oracle Corporation > Java home: C:\Program Files (x86)\Java\jdk1.7.0_02\jre > Default locale: zh_CN, platform encoding: GBK > OS name: "windows 7", version: "6.1", arch: "x86", family: "windows" > Reporter: Changming Sun > Priority: Minor > Attachments: pom.xml.patch > > Original Estimate: 1h > Remaining Estimate: 1h > > hadoop-mapreduce-project\hadoop-yarn\hadoop-yarn-common\pom.xml is not portable. > > generate-version > generate-sources > > scripts/saveVersion.sh > > ${project.version} > ${project.build.directory} > > > > exec > > > when I built it under windows , I got a such error: > [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec (gen > erate-version) on project hadoop-yarn-common: Command execution failed. Cannot r > un program "scripts\saveVersion.sh" (in directory "D:\os\hadoopcommon\hadoop-map > reduce-project\hadoop-yarn\hadoop-yarn-common"): CreateProcess error=2, ???????? > ? -> [Help 1] > we should modify it like this: (copied from hadoop-common-project\hadoop-common\pom.xml) > > > > > line="${basedir}/dev-support/saveVersion.sh ${project.version} ${project.build.directory}/generated-sources/java"/> > > > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira