We are trying to implement some additional logic on top of sf:deploy and other targets provided by Ant Migration Tool. But need to examine a source code of those targets to better understand what's going on inside, how output is formed, how error logging is happening etc. At some point we need to parse error logs and handle all possible deployment errors - connection timeout, invalid credentials etc.
So, is Ant Migration Tool an open source project available somewhere in public? Doesn't seem to me like that.
Any help would be appreciated.