You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by le...@apache.org on 2011/10/06 14:55:08 UTC
svn commit: r1179605 - in /nutch/branches/nutchgora: CHANGES.txt build.xml
Author: lewismc
Date: Thu Oct 6 12:55:08 2011
New Revision: 1179605
URL: http://svn.apache.org/viewvc?rev=1179605&view=rev
Log:
commit to address NUTCH-1136 and update to changes.txt
Modified:
nutch/branches/nutchgora/CHANGES.txt
nutch/branches/nutchgora/build.xml
Modified: nutch/branches/nutchgora/CHANGES.txt
URL: http://svn.apache.org/viewvc/nutch/branches/nutchgora/CHANGES.txt?rev=1179605&r1=1179604&r2=1179605&view=diff
==============================================================================
--- nutch/branches/nutchgora/CHANGES.txt (original)
+++ nutch/branches/nutchgora/CHANGES.txt Thu Oct 6 12:55:08 2011
@@ -2,6 +2,8 @@ Nutch Change Log
Release nutchgora - Current Development
+* NUTCH-1136 Ant pmd target is broken
+
* NUTCH-1058 Upgrade Solr schema version to 1.4 (markus)
* NUTCH-672 allow unit tests to be run from bin/nutch (Todd Lipton via lewismc)
Modified: nutch/branches/nutchgora/build.xml
URL: http://svn.apache.org/viewvc/nutch/branches/nutchgora/build.xml?rev=1179605&r1=1179604&r2=1179605&view=diff
==============================================================================
--- nutch/branches/nutchgora/build.xml (original)
+++ nutch/branches/nutchgora/build.xml Thu Oct 6 12:55:08 2011
@@ -328,50 +328,13 @@
</target>
<!-- ================================================================== -->
- <!-- Run code checks (PMD) -->
+ <!-- Run Nutch proxy -->
<!-- ================================================================== -->
- <target name="pmd" depends="compile">
- <property name="pmd.report" location="${build.dir}/pmd-report.html" />
- <taskdef name="pmd" classname="net.sourceforge.pmd.ant.PMDTask">
- <classpath>
- <fileset dir="${lib.dir}">
- <include name="pmd-ext/*.jar" />
- <include name="xerces*.jar" />
- </fileset>
- </classpath>
- </taskdef>
- <pmd shortFilenames="true" failonerror="true" failOnRuleViolation="false"
- encoding="${build.encoding}" failuresPropertyName="pmd.failures">
- <ruleset>unusedcode</ruleset>
- <!--ruleset>basic</ruleset-->
- <!--ruleset>optimizations</ruleset-->
- <formatter type="html" toFile="${pmd.report}" />
- <!-- <formatter type="xml" toFile="${tempbuild}/$report_pmd.xml"/> -->
- <fileset dir="${basedir}/src">
- <include name="java/**/*.java"/>
- <include name="plugin/**/*.java"/>
- </fileset>
- </pmd>
- <condition property="pmd.stop" value="true">
- <and>
- <isset property="pmd.failures" />
- <not>
- <equals arg1="0" arg2="${pmd.failures}" trim="true" />
- </not>
- </and>
- </condition>
- <fail if="pmd.stop">FAILURE: PMD shows ${pmd.failures} rule violations. See ${pmd.report} for details.</fail>
- </target>
- <target name="proxy" depends="job">
+ <target name="proxy" depends="job, compile-core-test">
<java classname="org.apache.nutch.tools.proxy.TestbedProxy" fork="true">
<classpath refid="test.classpath"/>
<arg value="-fake"/>
- <arg value="-hostMode"/>
- <arg value="u"/>
- <arg value="-pageMode"/>
- <arg value="u"/>
- <arg value="-debug"/>
<!--
<arg value="-delay"/>
<arg value="-200"/>
@@ -380,15 +343,9 @@
</java>
</target>
- <target name="rundb">
- <java classname="org.hsqldb.server.Server" fork="true">
- <classpath refid="test.classpath"/>
- <arg value="--database.0"/>
- <arg value="file:data/benchmark"/>
- <arg value="--dbname.0"/>
- <arg value="nutchtest"/>
- </java>
- </target>
+ <!-- ================================================================== -->
+ <!-- Run Nutch benchmarking analysis -->
+ <!-- ================================================================== -->
<target name="benchmark">
<java classname="org.apache.nutch.tools.Benchmark" fork="true">