Uploaded image for project: 'Clover'
  1. Clover
  2. CLOV-1165

Fix AbstractAntLogger

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 3.1.8
    • 3.1.7
    • Ant Tasks
    • None

    Description

      The AbstractAntLogger class logs the message only if Ant Task is not null:

      protected void antLog(Project proj, Task task, String aMsg, int antLogLevel) {
              if (task != null) {
                  proj.log(task, aMsg, antLogLevel);
              }
          }
      

      As a consequence, no log is availalbe in case when code it's called outside Ant - problem was found in open-source Gradle Clover Plugin.

      Attachments

        Activity

          People

            mparfianowicz Marek Parfianowicz
            mparfianowicz Marek Parfianowicz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: