Browse Source

Fix the test of the unless condition

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1367459 13f79535-47bb-0310-9956-ffa450edef68
master
Nicolas Lalevee 13 years ago
parent
commit
4e97d0d888
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/Target.java

+ 1
- 1
src/main/org/apache/tools/ant/Target.java View File

@@ -529,7 +529,7 @@ public class Target implements TaskContainer {
public boolean eval() throws BuildException {
PropertyHelper propertyHelper = PropertyHelper.getPropertyHelper(getProject());
Object o = propertyHelper.parseProperties(condition);
return propertyHelper.testUnlessCondition(o);
return !propertyHelper.testUnlessCondition(o);
}

}


Loading…
Cancel
Save