xml - Ant: Consecutive xmlproperty returning values from the first file -
in ant build.xml file, reading 2 different xml files , accessing same property in file. getting first value read both.
<target name="readport"> <xmlproperty file"${port.file}" collapseattribute="true"/> <property name="portversion" value="${xs:schema.version}"/> </target> <target name="readname"> <xmlproperty file"${name.file}" collapseattribute="true"/> <property name="nameversion" value="${xs:schema.version}"/> </target>
in other words, after running second target, getting value first xml file. there way clear first xml read? thank you!
Comments
Post a Comment