Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 22264 invoked from network); 2 Feb 2006 18:32:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Feb 2006 18:32:37 -0000 Received: (qmail 53732 invoked by uid 500); 2 Feb 2006 18:32:34 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 53672 invoked by uid 500); 2 Feb 2006 18:32:33 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 53661 invoked by uid 99); 2 Feb 2006 18:32:33 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2006 10:32:33 -0800 Received: by ajax.apache.org (Postfix, from userid 99) id 62FDECB; Thu, 2 Feb 2006 19:32:12 +0100 (CET) From: bugzilla@apache.org To: commons-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 38491] New: - / logs warning instead of throwing BuildException Message-ID: X-Bugzilla-Reason: AssignedTo Date: Thu, 2 Feb 2006 19:32:12 +0100 (CET) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=38491 Summary: / logs warning instead of throwing BuildException Product: Commons Version: Nightly Builds Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: VFS AssignedTo: commons-dev@jakarta.apache.org ReportedBy: styler@kronos.com I found that using the or that if the source file (s)/directory does not exist then the code logs a warning, instead of throwing a BuildException. A fix could be made here: org.apache.commons.vfs.tasks.AbstractSyncTask Change method private void handleFiles() throws Exception if (!srcFile.exists()) then throw a BuildException A future enhancement is supporting a failonerror attribute. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org