You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oodt.apache.org by Brian Foster <ho...@me.com> on 2012/01/19 00:02:59 UTC

Crawler actions...

Hey guys... I've been slowly chuggin away at integrating cas-cli into cas-crawler... busy few weeks at work... but I'm also kinda stuck on something... currently the crawler supports command line options which configure crawler actions (not command line actions), however there is no way to display the help for these (i.e. whether they are required or not)... this is because they become required only if another option (i.e. -ais) is specified with their action id... new cas-cli doesn't support this either and I initially thought about adding this feature to cas-cli but didn't for simplicity sake (cas-cli is complex enough)... so I'm think of just make crawler action configurable via java properties... this will not change the currently implemented classes at all or the way actions are written in the future... basically spring will just set its properties for these actions by using java properties instead... what u guys thing?

-brian

Re: Crawler actions...

Posted by "Mattmann, Chris A (388J)" <ch...@jpl.nasa.gov>.
Hey Brian,

On Jan 18, 2012, at 3:02 PM, Brian Foster wrote:

> Hey guys... I've been slowly chuggin away at integrating cas-cli into cas-crawler... busy few weeks at work... but I'm also kinda stuck on something... currently the crawler supports command line options which configure crawler actions (not command line actions), however there is no way to display the help for these (i.e. whether they are required or not)... this is because they become required only if another option (i.e. -ais) is specified with their action id... new cas-cli doesn't support this either and I initially thought about adding this feature to cas-cli but didn't for simplicity sake (cas-cli is complex enough)... so I'm think of just make crawler action configurable via java properties... this will not change the currently implemented classes at all or the way actions are written in the future... basically spring will just set its properties for these actions by using java properties instead... what u guys thing?

I'd be +1 for this if the command line for the crawler worked the same way. Are you proposing
that CrawlerLauncher would now simply read command line actions and then have the 
Crawler's CommandLine actions set Spring java properties which would then be ready by the 
CrawlerActions?

Cheers,
Chris

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: chris.a.mattmann@nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++