You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Lewis John Mcgibbney <le...@gmail.com> on 2012/07/23 16:43:20 UTC
Configuring Nutch for testing tests in Eclipse
Hi,
Further to the Nutch + Eclipse tutorial we maintain here [0], I am
struggling slightly to configure the setup to include plugin test
classes on the Java Build Path. Currently * plugin jar's along with
ivy/ivy.xml dependencies are easy to obtain and configure with
classpath (as per tutorial) but this is not the case for the plugin
tests as we don't produce any jar's...
Has anyone conjured an implementation which could stop me scratching
my head please?
Best
Lewis
[0] http://wiki.apache.org/nutch/RunNutchInEclipse
--
Lewis
Re: Configuring Nutch for testing tests in Eclipse
Posted by Lewis John Mcgibbney <le...@gmail.com>.
So the 2nd from last bullet point under
http://wiki.apache.org/nutch/RunNutchInEclipse#Establish_the_Eclipse_environment_for_Nutch
states that we should not add build to the CP. However adding the
build/${plugin.name}/test directory to the java build path is the only
way I got this working yesterday.
Thanks Ferdy
Lewis
On Tue, Jul 24, 2012 at 8:09 AM, Ferdy Galema <fe...@kalooga.com> wrote:
> Hi,
>
> Can you not simply add the test plugin sources?
>
> On Mon, Jul 23, 2012 at 4:43 PM, Lewis John Mcgibbney <
> lewis.mcgibbney@gmail.com> wrote:
>
>> Hi,
>>
>> Further to the Nutch + Eclipse tutorial we maintain here [0], I am
>> struggling slightly to configure the setup to include plugin test
>> classes on the Java Build Path. Currently * plugin jar's along with
>> ivy/ivy.xml dependencies are easy to obtain and configure with
>> classpath (as per tutorial) but this is not the case for the plugin
>> tests as we don't produce any jar's...
>>
>> Has anyone conjured an implementation which could stop me scratching
>> my head please?
>>
>> Best
>>
>> Lewis
>>
>> [0] http://wiki.apache.org/nutch/RunNutchInEclipse
>>
>> --
>> Lewis
>>
--
Lewis
Re: Configuring Nutch for testing tests in Eclipse
Posted by Ferdy Galema <fe...@kalooga.com>.
Hi,
Can you not simply add the test plugin sources?
On Mon, Jul 23, 2012 at 4:43 PM, Lewis John Mcgibbney <
lewis.mcgibbney@gmail.com> wrote:
> Hi,
>
> Further to the Nutch + Eclipse tutorial we maintain here [0], I am
> struggling slightly to configure the setup to include plugin test
> classes on the Java Build Path. Currently * plugin jar's along with
> ivy/ivy.xml dependencies are easy to obtain and configure with
> classpath (as per tutorial) but this is not the case for the plugin
> tests as we don't produce any jar's...
>
> Has anyone conjured an implementation which could stop me scratching
> my head please?
>
> Best
>
> Lewis
>
> [0] http://wiki.apache.org/nutch/RunNutchInEclipse
>
> --
> Lewis
>