Browse Source

the bigger your project, the harder it is to track down bugs

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

+ 5
- 3
src/main/org/apache/tools/ant/Project.java View File

@@ -1731,9 +1731,11 @@ public class Project implements ResourceFactory {

// Make sure we exist
if (target == null) {
StringBuffer sb = new StringBuffer("Target `");
StringBuffer sb = new StringBuffer("Target \"");
sb.append(root);
sb.append("' does not exist in this project. ");
sb.append("\" does not exist in the project \"");
sb.append(name);
sb.append("\". ");
visiting.pop();
if (!visiting.empty()) {
String parent = (String) visiting.peek();
@@ -2192,7 +2194,7 @@ public class Project implements ResourceFactory {
}

/**
* Resolve the file realtive to the project's basedir and return it as a
* Resolve the file realtive to the project's basedir and return it as a
* FileResource.
* @since Ant 1.7
*/


Loading…
Cancel
Save