Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 93215 invoked by uid 500); 30 Nov 2000 09:31:42 -0000 Delivered-To: apmail-jakarta-ant-cvs@apache.org Received: (qmail 93204 invoked by uid 1146); 30 Nov 2000 09:31:42 -0000 Date: 30 Nov 2000 09:31:42 -0000 Message-ID: <20001130093142.93201.qmail@locus.apache.org> From: bodewig@locus.apache.org To: jakarta-ant-cvs@apache.org Subject: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs Property.java bodewig 00/11/30 01:31:41 Modified: src/main/org/apache/tools/ant/taskdefs Property.java Log: Tell the user that failed - if it fails. Revision Changes Path 1.20 +4 -2 jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Property.java Index: Property.java =================================================================== RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Property.java,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- Property.java 2000/10/13 09:14:37 1.19 +++ Property.java 2000/11/30 09:31:41 1.20 @@ -23,7 +23,7 @@ * Alternately, this acknowlegement may appear in the software itself, * if and wherever such third-party acknowlegements normally appear. * - * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software + * 4. The names "The Jakarta Project", "Ant", and "Apache Software * Foundation" must not be used to endorse or promote products derived * from this software without prior written permission. For written * permission, please contact apache@apache.org. @@ -182,9 +182,11 @@ if (is != null) { props.load(is); addProperties(props); + } else { + log("Unable to find resource " + name, Project.MSG_WARN); } } catch (Exception ex) { - ex.printStackTrace(); + throw new BuildException(ex, location); } }