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

------------------------------------------------------------------------------
            * 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 test`, or you 
can run a specific unit test with the command `ant test -Dtestcase=<ClassName>` 
(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 ===

Reply via email to