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=35653>. 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=35653 Summary: PropertySet defined as a nested element in antcall does not work as <param> entries Product: Ant Version: 1.6.2 Platform: All OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Core AssignedTo: dev@ant.apache.org ReportedBy: [EMAIL PROTECTED] One of the options available for antcall / ant is to provide a PropertySet from the current environment to the called target. I am using the ability to provide a mapper to alter the property names in the property set. Some of the resulting proerty names collide with existing properties in the environment, so the property is not set via the mapper/propertyset. When providing a <param> entry in an antcall the property name given is assigned whatever value that is specified, even if the named property already exists. <property name="y" value="a"/> <property name="z" value="b"/> <property name="x.y" value="boo"/> <property name="x.z" value="hoo"/> <!-- in this case the value stored in "y" is set to "new a" for the call I realize that this value scoped to the life of the call --> <antcall target="k" inheritAll="true"> <param name="y" value="new a"/> </antcall> <!-- in this case all properties with a prefix of "x." are selected and are mapped to names without the "x." giving two proeprties of "y" and "z" but the values in "y" and "z" remain unchanged in the called target --> <antcall target="k" inheritAll="true"> <propertyset id="foo"/> <propertyref prefix="x."/> <mapper type="glob" from="x.*" to="*"/> </propertyset> </antcall> It would be useful if those properties selected and mapped by a propertyset be made available to the antcall in the same manner as the properties specified with a <param> entry. -- 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]