Apache Nutch is an extensible and scalable web crawler
NUTCH-347 adjust plugin build script not to emit warnings when copying dependant jars
Sami Siren71c9b2e31ec8
diff --git a/CHANGES.txt b/CHANGES.txtindex 33537ad4c..dce1c347f 100644--- a/CHANGES.txt+++ b/CHANGES.txt@@ -18,6 +18,8 @@ Unreleased changes (0.9-dev)6. NUTCH-348 - Fix Generator to select highest scoring pages (ChrisSchneider and Stefan Groschupf via ab)+ 7. NUTCH-347 adjust plugin build script not to emit warnings when copying+ dependant jars (siren)Release 0.8 - 2006-07-25diff --git a/src/plugin/build-plugin.xml b/src/plugin/build-plugin.xmlindex e54db237f..4a447bce2 100755--- a/src/plugin/build-plugin.xml+++ b/src/plugin/build-plugin.xml@@ -132,11 +132,17 @@<mkdir dir="${deploy.dir}"/><copy file="plugin.xml" todir="${deploy.dir}"preservelastmodified="true"/>- <copy file="${build.dir}/${name}.jar" todir="${deploy.dir}" failonerror="false"/>+ <available property="lib-available"+ file="${build.dir}/${name}.jar"/>+ <antcall target="copy-generated-lib"/><copy todir="${deploy.dir}" flatten="true"><fileset refid="lib.jars"/></copy></target>++ <target name="copy-generated-lib" if="lib-available">+ <copy file="${build.dir}/${name}.jar" todir="${deploy.dir}" failonerror="false"/>+ </target><!-- ================================================================== --><!-- Compile test code -->