-
Bug
-
Resolution: Obsolete
-
Major
-
jBPM 3.2.12
-
None
-
None
the ant task used to deploy jBPM3 processes will return '0' (no error) if the server it's trying to reach is unavailable. It seems more proper to return something other than 0, indicating an error.
It looks as if a change to this code might bring the desired results (if pingServer() fails, then throw an Exception):
public void execute()
throws BuildException
{
try
{
if(pingServerOK())
}
catch(Exception e)
}