peterreilly 2005/01/04 06:43:33
Modified: src/main/org/apache/tools/ant/types PropertySet.java
Log:
allow propertyset to use typedefs mappers directly
Revision Changes Path
1.19 +9 -0 ant/src/main/org/apache/tools/ant/types/PropertySet.java
Index: PropertySet.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/types/PropertySet.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- PropertySet.java 15 Nov 2004 08:25:41 -0000 1.18
+++ PropertySet.java 4 Jan 2005 14:43:33 -0000 1.19
@@ -155,6 +155,15 @@
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;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]