[ 
http://issues.apache.org/jira/browse/NUTCH-82?page=comments#action_12332551 ] 

Nick Jacobsen commented on NUTCH-82:
------------------------------------

I think the problem here is that a bash script, by definition is not portable.  
Yes, you can *emulate* a *sh shell on windows, using cygwin, and build any 
required tools (df, etc - it does not exist in ALL shell implimentations) - but 
it is still *emulation*.  In general, anything you can do in bash, you can do 
in perl, but it is not exactly simple - and sometimes requires perl modules, 
which I would agree is not a good thing.  I would suggest that someone (I will 
even look into it) write a java launching tool.  I see providing only a bash 
control script as restricting the use of nutch to people running *nix systems. 

The only problem with java is that it needs to be compiled, and for something 
like a control script it is nice to be able to *simply* modify it.  Just a 
guess here, but doesn't java have a script interpreter built into it?

> Nutch Commands should run on Windows without external tools
> -----------------------------------------------------------
>
>          Key: NUTCH-82
>          URL: http://issues.apache.org/jira/browse/NUTCH-82
>      Project: Nutch
>         Type: New Feature
>  Environment: Windows 2000
>     Reporter: AJ Banck
>  Attachments: nutch.bat, nutch.bat, nutch.pl
>
> Currently there is only a shellscript to run the Nutch commands. This should 
> be platform independant.
> Best would be Ant tools, or scripts generated by a template tool to avoid 
> replication.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to