Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 61358 invoked from network); 3 Nov 2003 15:48:28 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 3 Nov 2003 15:48:28 -0000 Received: (qmail 74267 invoked by uid 500); 3 Nov 2003 15:48:21 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 74095 invoked by uid 500); 3 Nov 2003 15:48:20 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 74082 invoked by uid 500); 3 Nov 2003 15:48:20 -0000 Received: (qmail 74079 invoked from network); 3 Nov 2003 15:48:19 -0000 Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by daedalus.apache.org with SMTP; 3 Nov 2003 15:48:19 -0000 Received: (qmail 61300 invoked by uid 1146); 3 Nov 2003 15:48:24 -0000 Date: 3 Nov 2003 15:48:24 -0000 Message-ID: <20031103154824.61299.qmail@minotaur.apache.org> From: bodewig@apache.org To: ant-cvs@apache.org Subject: cvs commit: ant/src/main/org/apache/tools/ant/helper ProjectHelper2.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N bodewig 2003/11/03 07:48:24 Modified: src/main/org/apache/tools/ant/helper Tag: ANT_16_BRANCH ProjectHelper2.java Log: Merge from HEAD Revision Changes Path No revision No revision 1.33.2.2 +6 -4 ant/src/main/org/apache/tools/ant/helper/ProjectHelper2.java Index: ProjectHelper2.java =================================================================== RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/helper/ProjectHelper2.java,v retrieving revision 1.33.2.1 retrieving revision 1.33.2.2 diff -u -r1.33.2.1 -r1.33.2.2 --- ProjectHelper2.java 20 Oct 2003 14:18:35 -0000 1.33.2.1 +++ ProjectHelper2.java 3 Nov 2003 15:48:24 -0000 1.33.2.2 @@ -268,11 +268,13 @@ } catch (FileNotFoundException exc) { throw new BuildException(exc); } catch (UnsupportedEncodingException exc) { - throw new BuildException("Encoding of project file is invalid.", - exc); + throw new BuildException("Encoding of project file " + + buildFileName + " is invalid.", + exc); } catch (IOException exc) { - throw new BuildException("Error reading project file: " - + exc.getMessage(), exc); + throw new BuildException("Error reading project file " + + buildFileName + ": " + exc.getMessage(), + exc); } finally { if (inputStream != null) { try { --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org