Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
artifactproperty use getProject().setProperty() to set the property. This method overwrite the properties if it already exists.
As the standard in ant is to not overwrite properties, we should do the same (use getProject().setNewProperty()).
However, that would raise a backward compatibility issue. So, we should at least provides an attribute to allow working as it worked before.
But I think complying with ant normal behavior is more important than keeping full backward compatibilty in the context of a 2.0 release. So the default should be to not overwrite.