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

Reply via email to