Browse Source

Small fix for default state of unset property handling

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271440 13f79535-47bb-0310-9956-ffa450edef68
master
Conor MacNeill 23 years ago
parent
commit
2a642ec043
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      proposal/mutant/src/java/antcore/org/apache/ant/antcore/config/AntConfigHandler.java

+ 5
- 1
proposal/mutant/src/java/antcore/org/apache/ant/antcore/config/AntConfigHandler.java View File

@@ -103,7 +103,11 @@ public class AntConfigHandler extends ElementHandler {
config = new AntConfig(); config = new AntConfig();
config.allowRemoteLibs(getBooleanAttribute(REMOTE_LIBRARY_ATTR)); config.allowRemoteLibs(getBooleanAttribute(REMOTE_LIBRARY_ATTR));
config.allowRemoteProjects(getBooleanAttribute(REMOTE_PROJECT_ATTR)); config.allowRemoteProjects(getBooleanAttribute(REMOTE_PROJECT_ATTR));
config.allowUnsetProperties(getBooleanAttribute(UNSET_PROPS_ATTR));
boolean allowUnsetProperties = true;
if (getAttribute(UNSET_PROPS_ATTR) != null) {
allowUnsetProperties = getBooleanAttribute(UNSET_PROPS_ATTR);
}
config.allowUnsetProperties(allowUnsetProperties);
} }
/** /**


Loading…
Cancel
Save