https://bz.apache.org/bugzilla/show_bug.cgi?id=61442
--- Comment #1 from Stefan Bodewig <[email protected]> --- I'm afraid I don't see what you describe - or misunderstand what you are saying $ cat 61442.xml <project default="test"> <property name="a" value=""/> <property name="b" value="x"/> <target name="test"> <echoproperties> <propertyset> <propertyref name="ant.version"/> <propertyref name="a"/> <propertyref name="b"/> <propertyref name="c"/> </propertyset> </echoproperties> </target> </project> I echo ant.version just to be sure, a non-existent property with "c", a property with an empty value with "a" and a "normal" property with "b". Here are the results $ /devel/ASF/apache-ant-1.6.1/bin/ant -f /tmp/61442.xml Buildfile: /tmp/61442.xml test: [echoproperties] #Ant properties [echoproperties] #Fri Aug 18 15:57:22 CEST 2017 [echoproperties] b=x [echoproperties] a= [echoproperties] ant.version=Apache Ant version 1.6.1 compiled on February 12 2004 BUILD SUCCESSFUL Total time: 0 seconds $ ant -f /tmp/61442.xml Buildfile: /tmp/61442.xml test: [echoproperties] #Ant properties [echoproperties] #Fri Aug 18 15:57:41 CEST 2017 [echoproperties] a= [echoproperties] ant.version=Apache Ant(TM) version 1.10.2alpha compiled on July 23 2017 [echoproperties] b=x BUILD SUCCESSFUL Total time: 0 seconds As you can see 1.6.1 both seem to behave the same, both echo the property a with an empty value and neither echoes anything for a non-existent property. -- You are receiving this mail because: You are the assignee for the bug.
