Ivy
  1. Ivy
  2. IVY-322

Add a 'conf' parameter to the ivy 'publish' ant task

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.4.1
    • Component/s: Ant, Core
    • Labels:
      None

      Description

      It would be very usefull to be able to publish the artifacts of only some configuratins.

      More specifically, the 'publish' ant task could be enhanced to take a 'conf' argument

        Activity

        Hide
        Xavier Hanin added a comment -

        I've integrated your patch, and updated the documentation here:
        http://www.jayasoft.org/ivy/doc/use/publish

        Show
        Xavier Hanin added a comment - I've integrated your patch, and updated the documentation here: http://www.jayasoft.org/ivy/doc/use/publish
        Hide
        Xavier Hanin added a comment -

        Thanks a lot for this contribution, I plan the integration for 1.4.1.

        Show
        Xavier Hanin added a comment - Thanks a lot for this contribution, I plan the integration for 1.4.1.
        Hide
        Emmanuel Pellereau added a comment -

        working patch (no doc nor JUnit test)

        Show
        Emmanuel Pellereau added a comment - working patch (no doc nor JUnit test)
        Hide
        Emmanuel Pellereau added a comment -

        Here is a working patch.

        1. usage:
          adds a optional 'conf' element to the publish ant task, to be able to publish artifacts from only a given comma separated list of configurations.
        1. restriction:
          usage of 'conf' argument implies 'publishivy="false"'...
        1. side effects
          none found yet
        1. possible improvments
          remove the limitation of 'publishivy="true"': we might publish a limited version of the ivy.xml file, containing only the listed confs.
        1. TODO:
          documentation of the new feature
          JUnit tests
        Show
        Emmanuel Pellereau added a comment - Here is a working patch. usage: adds a optional 'conf' element to the publish ant task, to be able to publish artifacts from only a given comma separated list of configurations. restriction: usage of 'conf' argument implies 'publishivy="false"'... side effects none found yet possible improvments remove the limitation of 'publishivy="true"': we might publish a limited version of the ivy.xml file, containing only the listed confs. TODO: documentation of the new feature JUnit tests

          People

          • Assignee:
            Xavier Hanin
            Reporter:
            Emmanuel Pellereau
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Due:
              Created:
              Updated:
              Resolved:

              Development