Return-Path: Delivered-To: apmail-incubator-pig-commits-archive@locus.apache.org Received: (qmail 6023 invoked from network); 10 Nov 2007 01:22:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Nov 2007 01:22:01 -0000 Received: (qmail 24670 invoked by uid 500); 10 Nov 2007 01:21:49 -0000 Delivered-To: apmail-incubator-pig-commits-archive@incubator.apache.org Received: (qmail 24653 invoked by uid 500); 10 Nov 2007 01:21:49 -0000 Mailing-List: contact pig-commits-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-commits@incubator.apache.org Received: (qmail 24641 invoked by uid 99); 10 Nov 2007 01:21:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2007 17:21:49 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Nov 2007 01:22:39 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 88B9E59A07 for ; Sat, 10 Nov 2007 01:21:38 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: pig-commits@incubator.apache.org Date: Sat, 10 Nov 2007 01:21:38 -0000 Message-ID: <20071110012138.1858.41051@eos.apache.org> Subject: [Pig Wiki] Update of "HowToContribute" by OlgaN X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Pig Wiki" for change notification. The following page has been changed by OlgaN: http://wiki.apache.org/pig/HowToContribute ------------------------------------------------------------------------------ * You must implement a class that extends junit.framework.TestCase and whose class name starts with Test. * Define methods within your class whose names begin with test, and call JUnit's many assert methods to verify conditions; these methods will be executed when you run ant test. * Place your class in the test tree. + * you can run all the unit test with the command `ant -Djunit.hadoop.conf= test` where `dir` is location of `hadoop-site.xml` of your cluster. Similarly, you can run a specific unit test with the command `ant Djunit.hadoop.conf= test -Dtestcase=` (For example `ant -Djunit.hadoop.conf=/home/hadoop test -Dtestcase=TestPigFile`) - * you can run all the unit test with the command `ant test`, or you can run a specific unit test with the command `ant test -Dtestcase=` (For example `ant test -Dtestcase=TestPigFile`) - - In addition to code changes, changes to the site documentation might be necessary. If so, please, follow the steps: - * Install [http://forrest.apache.org/ forrest] - * Checkout site documentation: `svn co https://svn.apache.org/repos/asf/incubator/pig/site/` - * Edit files in `author/src/documentation/content/xdocs`. See http://forrest.apache.org/ for documentation. - * Build the site: (Make sure that JAVA_HOME pointes to java 1.5 as forrest does not work with java 1.6) - * `cd author` - * `forrest` - * Inspect what's in build/site with your browser - * Once you are happy with the outcome, commit your changes: - * `cp -pr build/site/* ../publish` - * `cd ..` - * `svn stat` - * `svn add ...` - * `svn commit -m "blah blah"` - * Upload the changes to the documentation site: (The changes will appear an 1 hour after the update.) - * `ssh people.apache.org` - * `cd /www/incubator.apache.org/pig` - * `svn up` == Generating a patch == === Compilation ===