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

Clover-for-Grails does not work in Grails 1.3.x and 2.x

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • 3.1.6
    • 3.1.3
    • Grails Plugin
    • None

    Description

      See the https://answers.atlassian.com/questions/29425/clover-error-when-installing-in-grails-project

      Problems:

      #1) Clover does not install properly if it's being installed via dependency defined in BuildConfig.groovy, instead of command line "grails install-plugin". It cannot find Clover ant task definitions just after installation.

      #2) Clover does not instrument groovy sources in Grails 2.x - the reason is that Clover "hooks" to the GrailsCompiler class which has been removed in Grails 2.x, instead of this we have Grailsc now.

      #3) A problem with "static class FileOptimizable" - already fixed in CLOV-1076/CLOV-1093

      #4) Dependencies in BuildConfig.groovy

      build(clover.core.version, changing:false)
      compile(clover.core.version, changing:false)
      runtime(clover.core.version, changing:false)

      are causing installation warnings in Grails 2.x because of "changing:false" property.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 16h
                16h
                Remaining:
                Remaining Estimate - 16h
                16h
                Logged:
                Time Spent - Not Specified
                Not Specified