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-16

Clover fails with jdk 1.3.1

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.4
  • Fix Version/s: None
  • Labels:
    None
  • Environment:
    Sun Solaris 8
    SUN JDK 1.3.1_11
    Maven 1.0_rc2

Description

It seems that clover plugin can't find the XML classes when running jdk 1.3.1.

---- BEGIN SNIPPET —

test:test:
[junit] Running MyTest
[junit] Exception in thread "main" java.lang.NoClassDefFoundError:
org/w3c/dom/Node
[junit] at java.lang.Class.forName0(Native Method)
[junit] at java.lang.Class.forName(Class.java:115)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.FormatterElement.createFormatter(FormatterElement.java:183)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.createAndStoreFormatter(JUnitTestRunner.java:562)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:507)
[junit] [ERROR] TEST MyTest FAILED

---- END SNIPPET —

If I set JAVA_HOME to JDK 1.4.2 clover works ( The XML classes are included in the JDK 1.4.x)

Issue Links

is depended upon by

Bug - A problem which impairs or prevents the functions of the product. MAVEN-1244 plugin issues to fix for RC3

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Brett Porter added a comment - 28/Apr/04 8:02 PM

works for me with RC2 on Solaris 8, JDK 1.3.1_01

Show
Brett Porter added a comment - 28/Apr/04 8:02 PM works for me with RC2 on Solaris 8, JDK 1.3.1_01
Hide
Permalink
Brett Porter added a comment - 28/Apr/04 8:05 PM

my mistake. It succeeds, even though an exception occurs in the middle of build.

Show
Brett Porter added a comment - 28/Apr/04 8:05 PM my mistake. It succeeds, even though an exception occurs in the middle of build.
Hide
Permalink
Brett Porter added a comment - 10/May/04 7:42 PM

this is working for me now

Show
Brett Porter added a comment - 10/May/04 7:42 PM this is working for me now

People

  • Assignee:
    Brett Porter
    Reporter:
    Brian Preston
Vote (0)
Watch (0)

Dates

  • Created:
    21/Apr/04 11:21 AM
    Updated:
    10/May/04 7:42 PM
    Resolved:
    10/May/04 7:42 PM
  • 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.