[Nutch-dev] Re: tools cleanup

2005-04-09 Thread Sami Siren
http://jakarta.apache.org/commons/cli/ could this be the way? -- Sami Siren John X wrote: On Wed, Mar 30, 2005 at 12:53:24PM -0800, Doug Cutting wrote: 2. A tool class should define no methods other than a main() and perhaps those required to parse the command line. All application logic should

[Nutch-dev] Re: tools cleanup

2005-04-09 Thread Sami Siren
+1 -- Sami Siren Doug Cutting wrote: I propose we cleanup Nutch's tools as follows. First, some definitions: 1. An "action" is an operation on Nutch data. For example, GenerateSegmentFromDB, FetchSegment, UpdateDB, IndexSegment, MergeIndexes, SearchServer, etc. are all actions. 2. A "tool" inv