You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by remi tassing <ta...@gmail.com> on 2012/06/10 11:35:36 UTC

Compilation of core classes

Hello guys,

this is probably a basic Java/Ant question. It's pretty easy to compile
plugins. All you do is go to the plugin root directory and run 'ant'
(e.g. nutch-1.4/src/plugin/protocol-httpclient).

But how do I do this for non-plugin classes such as Fetcher.java without
recompiling everything?

Thanks in advance!

Remi

Re: Compilation of core classes

Posted by remi tassing <ta...@gmail.com>.
Merci Julien!

I tried that and compilation works. However, there is a small problem, I
changed fetcher.java and running "bin/nutch..." doesn't use include the
latest binaries.

I still have to re-build everything. I guess I might need to manually copy
the binaries from A folder to B folder?

Sorry for the late response BTW!

Remi

On Sun, Jun 10, 2012 at 10:42 PM, Julien Nioche <
lists.digitalpebble@gmail.com> wrote:

> Hi Remi
>
> 'ant compile-core' is what you're after
>
> Julien
>
> On 10 June 2012 10:35, remi tassing <ta...@gmail.com> wrote:
>
> > Hello guys,
> >
> > this is probably a basic Java/Ant question. It's pretty easy to compile
> > plugins. All you do is go to the plugin root directory and run 'ant'
> > (e.g. nutch-1.4/src/plugin/protocol-httpclient).
> >
> > But how do I do this for non-plugin classes such as Fetcher.java without
> > recompiling everything?
> >
> > Thanks in advance!
> >
> > Remi
> >
>
>
>
> --
> *
> *Open Source Solutions for Text Engineering
>
> http://digitalpebble.blogspot.com/
> http://www.digitalpebble.com
> http://twitter.com/digitalpebble
>

Re: Compilation of core classes

Posted by Julien Nioche <li...@gmail.com>.
Hi Remi

'ant compile-core' is what you're after

Julien

On 10 June 2012 10:35, remi tassing <ta...@gmail.com> wrote:

> Hello guys,
>
> this is probably a basic Java/Ant question. It's pretty easy to compile
> plugins. All you do is go to the plugin root directory and run 'ant'
> (e.g. nutch-1.4/src/plugin/protocol-httpclient).
>
> But how do I do this for non-plugin classes such as Fetcher.java without
> recompiling everything?
>
> Thanks in advance!
>
> Remi
>



-- 
*
*Open Source Solutions for Text Engineering

http://digitalpebble.blogspot.com/
http://www.digitalpebble.com
http://twitter.com/digitalpebble