[ 
https://issues.apache.org/jira/browse/HADOOP-2147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Raghu Angadi resolved HADOOP-2147.
----------------------------------

    Resolution: Won't Fix

I thought not removing build dir was more prevalent convention. Any way, using 
custom build directory might need some fixes :

{noformat}
> ant
> ls build
ant  classes  examples                      hadoop-0.16.0-dev-datajoin.jar  
hadoop-0.16.0-dev-streaming.jar  test
c++  contrib  hadoop-0.16.0-dev-abacus.jar  hadoop-0.16.0-dev-hbase.jar     src 
                             webapps
------
> ant -Dbuild.dir=buildx
> ls buildx
ant  c++  classes  examples  src  test  webapp

{noformat}

Both builds were successful.

> 'ant clean' should not remove build directory.
> ----------------------------------------------
>
>                 Key: HADOOP-2147
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2147
>             Project: Hadoop
>          Issue Type: Improvement
>            Reporter: Raghu Angadi
>            Priority: Minor
>
> It would be better if 'ant clean' does not remove build directory. Many 
> projects do not remove this dir. One advantage of not removing is that, I can 
> symlink the build to another place (e.g. /mnt/scratch/) and keep the source 
> code in more reliable place. I will submit a patch if this sounds ok.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to