Uploaded image for project: 'Ivy'
  1. Ivy
  2. IVY-587

artifactproperty overwrites the existing properties

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-beta-1
    • Ant
    • 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.

      Attachments

        Activity

          People

            gscokart Scokart Gilles
            gscokart Scokart Gilles
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: