look at wiki's how-to http://wiki.apache.org/nutch/PluginCentral and http://wiki.apache.org/nutch/WritingPluginExample-0.9
it might be outdated since current nutch versions use ivy which adds some more configuration to nutch but just do the same things which are done in nearby plugins. Best Regards Alexander Aristov On 9 November 2010 21:48, Robert Douglass <[email protected]> wrote: > 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! >

