Browse Source

more diagnostics

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278528 13f79535-47bb-0310-9956-ffa450edef68
master
Steve Loughran 20 years ago
parent
commit
dd6f766ed8
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/LoadProperties.java

+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/LoadProperties.java View File

@@ -156,11 +156,11 @@ public class LoadProperties extends Task {

if (srcFile != null) {
if (!srcFile.exists()) {
throw new BuildException("Source file does not exist.");
throw new BuildException("Source file does not exist :"+srcFile);
}

if (!srcFile.isFile()) {
throw new BuildException("Source file is not a file.");
throw new BuildException("Source file is not a file :"+srcFile);
}

try {


Loading…
Cancel
Save