DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=37760>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=37760 Summary: Helper method 'setMapper' on PropertySet does not work Product: Ant Version: 1.7Alpha (nightly) Platform: All URL: http://svn.apache.org/viewcvs.cgi/ant/core/trunk/src/mai n/org/apache/tools/ant/types/PropertySet.java?rev=279876 &view=markup OS/Version: other Status: NEW Severity: trivial Priority: P2 Component: Core AssignedTo: dev@ant.apache.org ReportedBy: [EMAIL PROTECTED] public void setMapper(String type, String from, String to) { Mapper m = createMapper(); Mapper.MapperType mapperType = new Mapper.MapperType(); mapperType.setValue(type); m.setFrom(from); m.setTo(to); } Note that mapperType is never added to the mapper. This creates a hard-to-debug problem (especially for a dumb newb like me). I found this problem on 1.6.5 version of Ant (above link is for current subversion state for this file). For me the problem occured when I tried to use <script> to create a CallTarget task with PropertySet. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]