Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

NUTCH-821 : fixed issue with missing lib dirs for some plugins

Julien Nioched8074ebc0c10
diff --git a/src/plugin/lib-nekohtml/build.xml b/src/plugin/lib-nekohtml/build.xml
index 8c7c5e9db..4bca1af7e 100644
--- a/src/plugin/lib-nekohtml/build.xml
+++ b/src/plugin/lib-nekohtml/build.xml
@@ -25,10 +25,6 @@
! -->
<target name="compile" depends="init, resolve-default"/>
- <target name="jar" depends="compile">
- <copy todir="${build.dir}" verbose="true">
- <fileset dir="./lib" includes="**/*.jar"/>
- </copy>
- </target>
+ <target name="jar" depends="compile"/>
</project>
diff --git a/src/plugin/lib-xml/build.xml b/src/plugin/lib-xml/build.xml
index 55c70908e..0f87c073e 100644
--- a/src/plugin/lib-xml/build.xml
+++ b/src/plugin/lib-xml/build.xml
@@ -17,18 +17,20 @@
-->
<project name="lib-xml" default="jar">
- <import file="../build-plugin.xml"/>
+ <import file="../build-plugin.xml" />
- <!--
+ <!--
! Override the compile and jar targets,
! since there is nothing to compile here.
! -->
- <target name="compile" depends="init, resolve-default"/>
+ <target name="compile" depends="init, resolve-default" />
- <target name="jar" depends="compile">
- <copy todir="${build.dir}" verbose="true">
- <fileset dir="./lib" includes="**/*.jar"/>
- </copy>
- </target>
+ <!--
+ <target name="jar" depends="compile">
+ <copy todir="${build.dir}" verbose="true">
+ <fileset dir="./lib" includes="**/*.jar" />
+ </copy>
+ </target>
+ -->
</project>
diff --git a/src/plugin/protocol-httpclient/build.xml b/src/plugin/protocol-httpclient/build.xml
index 2ae202c0a..b66eb97a2 100644
--- a/src/plugin/protocol-httpclient/build.xml
+++ b/src/plugin/protocol-httpclient/build.xml
@@ -27,9 +27,6 @@
<fileset dir="${nutch.root}/build">
<include name="**/lib-http/*.jar" />
</fileset>
- <fileset dir="${nutch.root}/lib/jsp-2.1">
- <include name="*.jar"/>
- </fileset>
<pathelement location="${build.dir}/test/conf"/>
</path>