Author: mbenson
Date: Mon Dec  5 13:18:23 2005
New Revision: 354190

URL: http://svn.apache.org/viewcvs?rev=354190&view=rev
Log:
fix setMapper method.  PR# 37760

Modified:
    ant/core/trunk/WHATSNEW
    ant/core/trunk/src/main/org/apache/tools/ant/types/PropertySet.java

Modified: ant/core/trunk/WHATSNEW
URL: 
http://svn.apache.org/viewcvs/ant/core/trunk/WHATSNEW?rev=354190&r1=354189&r2=354190&view=diff
==============================================================================
--- ant/core/trunk/WHATSNEW (original)
+++ ant/core/trunk/WHATSNEW Mon Dec  5 13:18:23 2005
@@ -161,7 +161,10 @@
 
 * > 1 ssh invocations to a given host would fail. Bugzilla report 36207.
 
-* EmailTask was eating SMTP error messages. Bugzilla report 37547.  
+* EmailTask was eating SMTP error messages. Bugzilla report 37547.
+
+* PropertySet API setMapper(...) didn't properly set up the Mapper.
+  Bugzilla report 37760.
 
 Other changes:
 --------------

Modified: ant/core/trunk/src/main/org/apache/tools/ant/types/PropertySet.java
URL: 
http://svn.apache.org/viewcvs/ant/core/trunk/src/main/org/apache/tools/ant/types/PropertySet.java?rev=354190&r1=354189&r2=354190&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/types/PropertySet.java 
(original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/types/PropertySet.java Mon Dec 
 5 13:18:23 2005
@@ -170,6 +170,7 @@
         Mapper m = createMapper();
         Mapper.MapperType mapperType = new Mapper.MapperType();
         mapperType.setValue(type);
+        m.setType(mapperType);
         m.setFrom(from);
         m.setTo(to);
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to