The simplest steps I know of right now: - Ensure you have docker. - Apply the patch in the jira I mentioned - Run the ./start-build-env.sh command. This will provide a fully configured building environment with all the required tools. - Run the command to actually build and test your patch on the commandline: ant -Dhadoopversion=23 -Djavac.args="-Xlint -Xmaxwarns 1000" clean jar test-commit
I never touched the ivy.settings or build.xml to run the build this way. Niels On Fri, May 15, 2015 at 12:30 PM, Serega Sheypak <[email protected]> wrote: > Yes, I've found the same. The only problem is that I can pass it using > ivy.settings (???) > I would like to escape learning ant and ivy and digging build.xml since > it's not my primary goal. > > Thank you for the link! > > 2015-05-15 13:14 GMT+03:00 Niels Basjes <[email protected]>: > > > Hi, > > > > The command line I have been using to build and test (that runs in 20 > > minutes) is: > > > > ant -Dhadoopversion=23 -Djavac.args="-Xlint -Xmaxwarns 1000" clean jar > > test-commit > > > > I found this by looking at the confluence page you mentioned and digging > > through the build.xml. > > > > To make setting things up easier you may want to try > > https://issues.apache.org/jira/browse/PIG-4526 > > > > Niels > > > > On Fri, May 15, 2015 at 10:21 AM, Serega Sheypak < > [email protected] > > > > > wrote: > > > > > Hi, trying to contribute > > > https://issues.apache.org/jira/browse/PIG-4550 > > > > > > Hi, can you give me guide for building pig? Usually I use maven. > > > I see that ivy requires two properties: hadoopVersion and hbaseVersion. > > > > > > 1. Is there any list of properties required to build project? > > > 2. Do I have to contribute to trunk? > > > 3. Which hadoop/hbase vesions I have to pick up? > > > 4. Do I have to test contribution against different combinations of > > > hadoop/hbase versions? > > > > > > I've read this one: > > > https://cwiki.apache.org/confluence/display/PIG/HowToContribute > > > > > > but it gives general rules, nothing specific. > > > > > > > > > > > -- > > Best regards / Met vriendelijke groeten, > > > > Niels Basjes > > > -- Best regards / Met vriendelijke groeten, Niels Basjes
