>
> If you look at lines 395-399 in build.xml [0] you need to add
>
>         <copy file="${test.src.dir}/crawl-tests.xml"
>         todir="${test.build.classes}"/>
>
>         <copy file="${test.src.dir}/domain-urlfilter.txt"
>         todir="${test.build.classes}"/>
>
>         <copy file="${test.src.dir}/filter-all.txt"
>         todir="${test.build.classes}"/>
>
> this will copy the desired config to the test directory.
>
> Again you need to do ant test *BEFORE* doing ant runtime
>
>
Thanks again Lewis. Now it copied the files and the error has gone. But the
test failed with 1 failure. This was for release 1.5 without any
modification.
....
...
>> Fetcher: finished at 2012-09-05 10:14:26, elapsed: 00:00:10
>> F.Fetcher: No agents listed in 'http.agent.name' property.

>> Time: 43.889

>> There was 1 failure:
>> 1)
testFetch(org.apache.nutch.fetcher.TestFetcher)junit.framework.AssertionFailedError:
expected:<6> but was:<0>
>> at org.apache.nutch.fetcher.TestFetcher.testFetch(TestFetcher.java:136)
...

why was that ? what does handleUrls store ?

Are you able to submit a patch for this?
>
>
you mean a patch for the build.xml file...  surely I can.


> Thanks
>
> Lewis
>
> [0] http://svn.apache.org/viewvc/nutch/trunk/build.xml?view=markup
>
> On Tue, Sep 4, 2012 at 1:31 PM, Vijith <[email protected]> wrote:
> > Thanks Lewis. But even then I am getting the same error. Here is what my
> > hadoop.log shows
> > ...
>



-- 

*Vijith V.*

Reply via email to