hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arun C Murthy (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-135) Ensure no temporary files are created in the top-level source directory during the build/test process
Date Wed, 05 Mar 2008 19:45:40 GMT

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

Arun C Murthy updated PIG-135:
------------------------------

    Description: 
Let's assume SRC_TOP is the top-level src directory.

Currently the build process creates a *src-gen* directory in SRC_TOP and the junit tests create
*dfs* and *test* directories in SRC_TOP. This means that the 'ant clean' task now has to cleanup
all of them.

Interestingly, 'ant clean' doesn't remove the 'dfs' directory at all... a related bug.

It would be nice to create a standalone _build_ directory in the top-level directory and then
use that as the parent of _all_ generated files (source and non-source). This would mean 'ant
clean' would just need to delete the build directory. It plays well when there are multiple
sub-projects developed on top of Pig (e.g. contrib etc.) too.

  was:
Let's assume SRC_TOP is the top-level src directory.

Currently the build process creates a *src-gen* directory in SRC_TOP and the junit tests create
a *test* directory in SRC_TOP. This means that the 'ant clean' task now has to cleanup both.
It would be nice to create a standalone _build_ directory in the top-level directory and then
use that as the parent of _all_ generated files (source and non-source). This would mean 'ant
clean' would just need to delete the build directory. It plays well when there are multiple
sub-projects developed on top of Pig (e.g. contrib etc.) too.


> Ensure no temporary files are created in the top-level source directory during the build/test
process
> -----------------------------------------------------------------------------------------------------
>
>                 Key: PIG-135
>                 URL: https://issues.apache.org/jira/browse/PIG-135
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Arun C Murthy
>             Fix For: 0.1.0
>
>
> Let's assume SRC_TOP is the top-level src directory.
> Currently the build process creates a *src-gen* directory in SRC_TOP and the junit tests
create *dfs* and *test* directories in SRC_TOP. This means that the 'ant clean' task now has
to cleanup all of them.
> Interestingly, 'ant clean' doesn't remove the 'dfs' directory at all... a related bug.
> It would be nice to create a standalone _build_ directory in the top-level directory
and then use that as the parent of _all_ generated files (source and non-source). This would
mean 'ant clean' would just need to delete the build directory. It plays well when there are
multiple sub-projects developed on top of Pig (e.g. contrib etc.) too.

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


Mime
View raw message