DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18154>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18154 P4HandlerAdapter can throw exceptions that should be build exceptions Summary: P4HandlerAdapter can throw exceptions that should be build exceptions Product: Ant Version: 1.5.2 Platform: All OS/Version: All Status: NEW Severity: Major Priority: Other Component: Optional Tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] If one runs perforce tasks against a disconnected server, the exceptions that are thrown in the thread that tries to communicate with this unavailable server throw exceptions that are not handled by Ant. This is especially painful in an integrated IDE ant feature, as the exception cannot be handled gracefully as a BuildException. The fix is simply to move the creation of the input reader in P4HandlerAdaptor into the try block just below it. Patch is forthcoming.