Hi Andrzej,
Thanks. How would I pass along a request to update
http://wiki.apache.org/nutch/WritingPluginExample-0.9 with that
information?
I.e.:
In preparation for the unit test, add the following to
[YourCheckoutDir]/src/plugin/recommended/build.xml
<!-- for junit test -->
<mkdir dir="${build.test}/data"/>
<copy file="sample/recommended.html" todir="${build.test}/data"/>
Patrick
-----Original Message-----
From: Andrzej Bialecki [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2008 2:17 PM
To: [email protected]
Subject: Re: Writing Plugins
Patrick Markiewicz wrote:
> Hi,
>
> I was trying to follow the tutorial about writing plugins,
> but my unit test fails. If my directory structure is
> [MyCheckoutDir]/src/plugin/recommended, and my path to the test data
> file is [MyCheckoutDir]/src/plugin/recommended/data, the data
directory
> is not copied to [MyCheckoutDir]/build/recommended/test. Does anyone
> have a build-plugin.xml file that correctly adds this 'data' directory
> to the proper destination? Thanks.
Please see parse-swf for an example.
--
Best regards,
Andrzej Bialecki <><
___. ___ ___ ___ _ _ __________________________________
[__ || __|__/|__||\/| Information Retrieval, Semantic Web
___|||__|| \| || | Embedded Unix, System Integration
http://www.sigram.com Contact: info at sigram dot com