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=8575>. 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=8575 Ant <get> task creates zero-length files Summary: Ant <get> task creates zero-length files Product: Ant Version: 1.4.1 Platform: All OS/Version: All Status: NEW Severity: Minor Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Ant <get> task creates zero-length destinations even if there is an invalid connection. The solution is to create the FileOutputStream (fos, line 192) *after* the InputStream has been checked for null-ness. In the new model, if the connection fails, a FileOutputStream is not created and hence no zero-length file is created when the exception is thrown. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
