Return-Path: Delivered-To: apmail-incubator-pig-dev-archive@locus.apache.org Received: (qmail 52618 invoked from network); 5 Mar 2008 19:46:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Mar 2008 19:46:55 -0000 Received: (qmail 36003 invoked by uid 500); 5 Mar 2008 19:46:49 -0000 Delivered-To: apmail-incubator-pig-dev-archive@incubator.apache.org Received: (qmail 35982 invoked by uid 500); 5 Mar 2008 19:46:49 -0000 Mailing-List: contact pig-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: pig-dev@incubator.apache.org Delivered-To: mailing list pig-dev@incubator.apache.org Received: (qmail 35958 invoked by uid 99); 5 Mar 2008 19:46:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Mar 2008 11:46:49 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Mar 2008 19:46:22 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CDC8F234C09B for ; Wed, 5 Mar 2008 11:45:40 -0800 (PST) Message-ID: <222046545.1204746340841.JavaMail.jira@brutus> Date: Wed, 5 Mar 2008 11:45:40 -0800 (PST) From: "Arun C Murthy (JIRA)" To: pig-dev@incubator.apache.org Subject: [jira] Updated: (PIG-135) Ensure no temporary files are created in the top-level source directory during the build/test process In-Reply-To: <994411739.1204732540722.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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.