Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 96187 invoked from network); 13 Feb 2006 17:01:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Feb 2006 17:01:50 -0000 Received: (qmail 89050 invoked by uid 500); 13 Feb 2006 17:01:50 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 89024 invoked by uid 500); 13 Feb 2006 17:01:49 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 89015 invoked by uid 99); 13 Feb 2006 17:01:49 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Feb 2006 09:01:47 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 2E3EBDE for ; Mon, 13 Feb 2006 18:01:26 +0100 (CET) Message-ID: <441910403.1139850086186.JavaMail.jira@ajax.apache.org> Date: Mon, 13 Feb 2006 18:01:26 +0100 (CET) From: "Jeremy Bensley (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Created: (HADOOP-34) Build Paths Relative to PWD in build.xml MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Build Paths Relative to PWD in build.xml ---------------------------------------- Key: HADOOP-34 URL: http://issues.apache.org/jira/browse/HADOOP-34 Project: Hadoop Type: Bug Environment: Fedora Core 4 Reporter: Jeremy Bensley Priority: Trivial In the build.xml file, many paths are defined in terms of the present working directory (PWD) instead of relative to the location of the build.xml. Thus, whenever trying to compile from a directory other than the hadoop root, errors such as this appear: BUILD FAILED /home/jeremy/cvs/hadoop/build.xml:109: org.apache.jasper.JasperException: The -uriroot option must specify a pre-existing directory I have scripts / vim parameters that connect to other machines for compiling using ssh, and am not necessarily always in the root whenever I compile. I am attaching a patch which sets all paths relative to ${basedir}, and removes the override of ${basedir} to the PWD. Please let me know if there are reasons why the build environment must be relative to the working directory. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira