Browse Source

allow propertyset to use typedefs mappers directly

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277272 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 20 years ago
parent
commit
7b157bebf0
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      src/main/org/apache/tools/ant/types/PropertySet.java

+ 9
- 0
src/main/org/apache/tools/ant/types/PropertySet.java View File

@@ -155,6 +155,15 @@ public class PropertySet extends DataType {
return _mapper;
}

/**
* A nested filenamemapper
* @param fileNameMapper the mapper to add
* @since Ant 1.6.3
*/
public void add(FileNameMapper fileNameMapper) {
createMapper().add(fileNameMapper);
}

public void setDynamic(boolean dynamic) {
assertNotReference();
this.dynamic = dynamic;


Loading…
Cancel
Save