You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-commits@incubator.apache.org by "Gilles Scokart (JIRA)" <ji...@apache.org> on 2007/08/06 19:13:59 UTC

[jira] Resolved: (IVY-587) artifactproperty overwrites the existing properties

     [ https://issues.apache.org/jira/browse/IVY-587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gilles Scokart resolved IVY-587.
--------------------------------

    Resolution: Fixed

> artifactproperty overwrites the existing properties
> ---------------------------------------------------
>
>                 Key: IVY-587
>                 URL: https://issues.apache.org/jira/browse/IVY-587
>             Project: Ivy
>          Issue Type: Improvement
>          Components: Ant
>            Reporter: Gilles Scokart
>            Assignee: Gilles Scokart
>             Fix For: 2.0.0-beta-1
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.