Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

Add support for inter plugin dependencies at compilation time (using plugin.deps path)

Jerome Charrona1a4ee9effb5
diff --git a/src/plugin/build-plugin.xml b/src/plugin/build-plugin.xml
index 1f00cbbd5..023f54a34 100755
--- a/src/plugin/build-plugin.xml
+++ b/src/plugin/build-plugin.xml
@@ -35,6 +35,8 @@
<property name="build.encoding" value="ISO-8859-1"/>
+ <path id="plugin.deps"/>
+
<fileset id="lib.jars" dir="${root}" includes="lib/*.jar"/>
<!-- the normal classpath -->
@@ -45,6 +47,7 @@
<fileset dir="${nutch.root}/lib">
<include name="*.jar" />
</fileset>
+ <path refid="plugin.deps"/>
</path>
<!-- the unit test classpath -->