I am attempting the following

jspc ask records a log 
When log is present on (log file is present on directory)
search the log for string "error"
return found (I have noted that java returns 1)
or not found (I have noted that java returns 0)

Here are the features I need:
1)A mechanism for checking the return code of <java invocation> OR
2)A task which can search (in my case the log file) and 
return found 
return not found

Then I can 
conditionally execute some more code based on value of property 'found' not 
found or found..
  
Is this doable?

Thanks,

Martin

Reply via email to