ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alejandro Abdelnur <alejandro.abdel...@sun.com>
Subject [PATCH] ant1.4B2 - property task, added override value support
Date Sun, 02 Sep 2001 02:35:20 GMT

i've modified the the org.apache.tools.ant.taskdefs.Property class to
support value overriding.

if the override attribute is present and set to true or yes, allows to
change the value of an existing project property (user properties are
not affected).

this functionality works with all the flavors of the property task
(value, file, etc.)

	<property name="favorite.color" value="red" />
	<property name="favorite.color" value="green" override="yes" />


attached you'll find the modified Property.java file.

regards.

a
Mime
View raw message