Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@jakarta.apache.org Received: (qmail 12219 invoked by uid 500); 27 Apr 2001 01:14:32 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: ant-dev@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 12202 invoked from network); 27 Apr 2001 01:14:30 -0000 Date: Thu, 26 Apr 2001 18:03:54 -0700 (PDT) Message-Id: <200104270103.SAA17866@nagoya-a.betaversion.org> From: bugzilla@apache.org To: ant-dev@jakarta.apache.org Cc: Subject: [Bug 1547] New - task should fail if file="" is specified and doesn't exist X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1547 *** shadow/1547 Thu Apr 26 18:03:54 2001 --- shadow/1547.tmp.17863 Thu Apr 26 18:03:54 2001 *************** *** 0 **** --- 1,21 ---- + +============================================================================+ + | task should fail if file="" is specified and doesn't exist | + +----------------------------------------------------------------------------+ + | Bug #: 1547 Product: Ant | + | Status: NEW Version: 1.3 | + | Resolution: Platform: All | + | Severity: Enhancement OS/Version: All | + | Priority: High Component: Core tasks | + +----------------------------------------------------------------------------+ + | Assigned To: ant-dev@jakarta.apache.org | + | Reported By: katkere@praja.com | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + Currently task just logs the fact that the file specified in file="" + attribute doesn't exist and continues. We feel the behavior of + (BuildException) is more appropriate. This is similar to behavior of Unix "cp". + + The current behavior (easily missable log message) is error-prone.