Hi all, I submitted my first patch and I was requested to port the unit test, which I guess means to execute test-patch. The patch is for branch-1 so it runs with ant... I checked out a clean branch-1 (svn stat shows nothing) and run the following command (From the clean checkout dir) : * * *ant test-patch -Dpatch.file=../HADOOP-6103-branch-1.patch -Dfindbugs.home=/usr/local/findbugs-2.0.2/ -Dforrest.home=/usr/local/apache-forrest-0.8/*
But I get: Buildfile: /home/username/Dev/hadoop-working-branch/hadoop-common-1/build.xml patch.check: check-for-findbugs: findbugs.check: forrest.check: test-patch: [exec] [exec] [exec] ====================================================================== [exec] ====================================================================== [exec] Testing patch for HADOOP-6103-branch-1.patch. [exec] ====================================================================== [exec] ====================================================================== [exec] [exec] [exec] Patch file ../HADOOP-6103-branch-1.patch copied to /home/username/tmp [exec] [exec] [exec] ====================================================================== [exec] ====================================================================== [exec] Pre-build trunk to verify trunk stability and javac warnings [exec] ====================================================================== [exec] ====================================================================== [exec] [exec] [exec] /home/username/Dev/tools/apache-ant-1.9.0/bin/ant -Djavac.args=-Xlint -Xmaxwarns 1000 -Dforrest.home=/usr/local/apache-forrest-0.8/ -DPatchProcess= clean tar > /home/username/tmp/trunkJavacWarnings.txt 2>&1 [exec] Trunk compilation is broken? [exec] [exec] [exec] ====================================================================== [exec] ====================================================================== [exec] Finished build. [exec] ====================================================================== [exec] ====================================================================== [exec] [exec] BUILD FAILED /home/username/Dev/hadoop-working-branch/hadoop-common-1/build.xml:2287: exec returned: 1 Thanks for the help, Amit.