Tomi NA wrote:
On 9/11/06, Jim Wilson <[EMAIL PROTECTED]> wrote:
Dear Nutch User Community,
Does anyone have a nutch.bat file to use in the bin directory? I
find it
bemusing that Java (cross-platform) was chosen as the development
language,
but the launcher is written in Bash.
As much as I hate to say it, but you're right, it doesn't make any
sense to hobble such a great body of platform independent code with a
couple of short bit vital *n*x-only scripts. ...even if we are talking
about windows.
Would it make sense to go java all the way and use groovy or
beanshell? My knowledge of these projects is rather superficial, but
someone else might know more...
Originally Cygwin was needed to ensure the presence of some of the Unix
utilities, such as df(1), which get the info from OS that Java cannot
get; and of course to run the shell scripts.
Recently the dependency on POSIX-compatible df(1) has been removed. And
scripts can be rewritten in Java - although unless you use another type
of launcher (again, based on scripts!) there is no way to build
single-argument applications in Java; so, you always have to type more
than you would when starting a native application.
Anyway, I believe it should be possible now to get rid of Cygwin
dependency. If it's a high priority for you, please submit a patch.
--
Best regards,
Andrzej Bialecki <><
___. ___ ___ ___ _ _ __________________________________
[__ || __|__/|__||\/| Information Retrieval, Semantic Web
___|||__|| \| || | Embedded Unix, System Integration
http://www.sigram.com Contact: info at sigram dot com