You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Alan Gates (JIRA)" <ji...@apache.org> on 2010/01/15 06:48:54 UTC

[jira] Resolved: (PIG-135) Ensure no temporary files are created in the top-level source directory during the build/test process

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

Alan Gates resolved PIG-135.
----------------------------

    Resolution: Fixed

Everything but src-gen now goes under the build directory.  We aren't planning on moving src-gen there.

> 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
>
> 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.