Hi, I'm trying to use ant to build and deploy the plugins.
What I expected:
cd to NUTCH/src/plugin
ant clean && ant deploy && ant deploy-core
// new plugins appear in NUTCH/plugins
What happened:
ant clean failed with messages like:
BUILD FAILED
/home/robert/lib/nutch_1_2/src/plugin/build.xml:165: Basedir
/home/robert/lib/nutch_1_2/src/plugin/parse-rtf does not exist
I corrected this by commenting out these lines in src/plugin/build.xml:
<!--<ant dir="lib-commons-httpclient" target="clean"/>-->
<!--<ant dir="parse-mp3" target="clean"/>-->
<!--<ant dir="parse-rtf" target="clean"/>-->
Then ant clean had a lot of warnings:
warning 'includeantruntime' was not set , defaulting to
build.sysclasspath=last; set to false for repeatable builds.
I fixed those by adding an includeantruntime parameter to the javac task
in build-plugin.xml:
<target name="compile" depends="init,deps-jar">
<echo message="Compiling plugin: ${name}"/>
<javac
includeantruntime="FALSE"
So now after running ant I see from git status that the jars are being
built:
# modified: build/feed/feed.jar
But what task or script moves them to plugins, along with their xml files?
Thanks for the help!