ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin" <>
Subject Missing feature or a request
Date Sun, 28 Apr 2002 20:42:21 GMT
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?



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message