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

Enhance <info/> task to access the 'publication', 'branch' and published artifacts as ant propeties.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.1
    • 2.2.0-RC1
    • Ant
    • None

    Description

      The pubblication attribute on <info /> element in IVY file is very useful.

      When the attribute is not specified IVY set the attribute to the current timestamp.

      It would be very useful to access to 'publication' attribute from ANT during artifacts build using a ${ivy.publication} property.

      Using ANT task <tstamp /> to simulate that can create incoherent situation because the two timestamps are not 'synchronized'

      Similarly, a property for the 'branch' attribute could be added.

      Access to the published artifacts declared in the ivy file as ant properties would also be useful. This would allow a multi-project build system with a common build file define the produced artifacts solely in the Ivy file and have the common build file retrieve the names of the artifacts that it needs to create from that ivy file via the <info/> task.

      Attachments

        1. ivy-395.patch
          9 kB
          Carl Quinn
        2. ivy-395-2.patch
          9 kB
          Carl Quinn
        3. ivy-395-3.patch
          15 kB
          Carl Quinn

        Activity

          People

            maartenc Maarten Coene
            pablo72 paolo di tommaso
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: