Ivy
  1. Ivy
  2. IVY-205

Make ReportOutputter pluggable and customizable

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.1
    • Fix Version/s: 1.4-RC1
    • Component/s: Core
    • Labels:
      None
    • Environment:

      N/A

      Description

      Make it possible in configuration file to change or add implementation of ReportOutputter, the same way that you can change (or add) dependency resolvers, latest strategies, expression matcher, conflict manager, namespaces and module descriptor parsers.

      With custom report outputters you will be able to change the log format (e.g. make it cleaner, not to confuse users), use other logging systems (e.g. Apache commons logging, Log4j, etc.) and so on.

      This match the current product architecture as much as I understand.


      easyproglife.

        Activity

        easyproglife created issue -
        Hide
        Maarten Coene added a comment -

        patch which makes the following possible in the ivy-conf.xml:

        <ivyconf>
        <typedef name="myoutputter" classname="..."/>
        <outputters>
        <myoutputter />
        </outputters>
        </ivyconf>

        Show
        Maarten Coene added a comment - patch which makes the following possible in the ivy-conf.xml: <ivyconf> <typedef name="myoutputter" classname="..."/> <outputters> <myoutputter /> </outputters> </ivyconf>
        Hide
        Maarten Coene added a comment -

        File necessary for the junit test.

        Show
        Maarten Coene added a comment - File necessary for the junit test.
        Hide
        Xavier Hanin added a comment -

        I've integrated your patch, it seems to work very well. Thanks for your contribution!

        Show
        Xavier Hanin added a comment - I've integrated your patch, it seems to work very well. Thanks for your contribution!
        Hide
        Xavier Hanin added a comment -
        Show
        Xavier Hanin added a comment - doc updated here: http://www.jayasoft.org/ivy/doc/configuration/outputters
        Jeff Turner made changes -
        Field Original Value New Value
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        234d 20h 26m 1 Jeff Turner 26/Nov/06 07:04

          People

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

            Dates

            • Due:
              Created:
              Updated:
              Resolved:

              Development