On Wed, Jun 16, 2004 at 12:12:57AM +0200, Stefan Groschupf wrote:
> John,
> 
> >Related, two quesitons about plugin code for you and Stephan:
> >
> >(1) Does the plugin code provide mechanism for running external program
> >(separate process, not written in java)? This capability would be
> >very useful, since there are many parsers out as standalone tools.
> >Core issue would be pipe stdin, stdout and stderr properly.
> >Byron has expressed the same interest before.
> 
> There is already a plugin that demonstrate this.
> The open office plugin that adds 100++ new file formats to nutch use an 
> external open office server.

This is probably a little different from what I described.
I guess, with your open office plugin, nutch talks to a running
open office instance via uno at certain port? I may be wrong.
What I want is the ability to start up an external program (say,
written in perl) as separate process and pipe in/out bytes through it.
It might have less to do with plugin, but I want to make sure
it is not impossible with plugin.

> The code isn't 100% compatible with our actually plugin -system 
> implementation.
> Until this week I have vacations so I can put it on my to do list for 
> next weeks to update the code.

Any estimation when it can be available to us?

> 
> 
> >(2) If two plugins A and B depend on different versions of lib C,
> >how does the plugin code handle it? I might face this possiblity
> >in the future.
> 
> You simply can create a plugin that is just contains one jar file 
> without any other code,
> In the plugin.xml you export the library and you plugin A and B depends 
> on your library plugin.

But, A depends on C-version1, B depends on C-version2 and
C-version1, C-version2 are proprietary, i.e., I can not change them.
Could you be more specific?

John


-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Nutch-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to