jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 1.x Clover Plugin
  • MPCLOVER-28

Clover plugin fails to reset build directory in clover:off

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.6
  • Fix Version/s: 1.7
  • Labels:
    None

Description

The clover:on goal resets the maven.build.dest property so that Clover instrumented classes don't get mixed with non-instrumented classes. The old value is saved in a variable "mavenBuildDestOld." The clover:off goal attempts to restore the original maven.build.dest property, but it uses a non-existant variable named "mavenBuildDestTestOld," so the reset fails.

If you are running many Maven goals at once, like a site deploy, this can cause NoClassDefFound errors, since the instrumented clases will continue to be used.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Vincent Massol added a comment - 10/Feb/05 2:44 AM

Done

Show
Vincent Massol added a comment - 10/Feb/05 2:44 AM Done

People

  • Assignee:
    Vincent Massol
    Reporter:
    Jason Madden
Vote (0)
Watch (1)

Dates

  • Created:
    12/Jan/05 3:38 PM
    Updated:
    10/Feb/05 2:44 AM
    Resolved:
    10/Feb/05 2:44 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.