From: Steve Loughran <steve_loughran@hp...> - 2004-02-26 12:02:07
What is going to break if I change the return code of SfSystem from +1
on an error, to -1.
The reason is that exec(java.exe) returns +ve error codes when it has
trouble, such as
+1: some error on the command line (entry point not found)
+2: OS: java.exe not found
I want to be able to ignore -1 errors if the user asks (like a
connection refused fault on a ant <stopdaemon> call), but still
recognise fundamental problems with system (like the classpath broken).
So, think around, what is it you have written that mandates that
SfSystem returns +1 on an error, and tell me.