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)
Signup
Maven 2.x Javadoc Plugin
  • Maven 2.x Javadoc Plugin
  • MJAVADOC-210

Unit tests fail on OS X

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 2.5
  • Fix Version/s: 2.5
  • Labels:
    None
  • Environment:
    Hide
    Betelgeuse:maven-javadoc-plugin jdcasey$ mvn -v
    JDK 1.4
    2.0.9
    --> Command was: /Users/jdcasey/apps/maven/apache-maven-2.0.9/bin/mvn -v
    Maven version: 2.0.9
    Java version: 1.4.2_16
    OS name: "mac os x" version: "10.5.4" arch: "i386" Family: "unix"

    Java Home: /System/Library/Frameworks/JavaVM.framework/Versions/1.4/Home
    Show
    Betelgeuse:maven-javadoc-plugin jdcasey$ mvn -v JDK 1.4 2.0.9 --> Command was: /Users/jdcasey/apps/maven/apache-maven-2.0.9/bin/mvn -v Maven version: 2.0.9 Java version: 1.4.2_16 OS name: "mac os x" version: "10.5.4" arch: "i386" Family: "unix" Java Home: /System/Library/Frameworks/JavaVM.framework/Versions/1.4/Home
  • Number of attachments :
    4

Description

I'm attaching the build console output and surefire output file for the failing unit test.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Text File
    build.log
    31/Jul/08 4:36 PM
    11 kB
    John Casey
  2. Text File
    MJAVADOC-210_new.patch
    01/Aug/08 5:58 AM
    5 kB
    Vincent Siveton
  3. Text File
    MJAVADOC-210.patch
    31/Jul/08 5:42 PM
    6 kB
    Benjamin Bentmann
  4. Text File
    org.apache.maven.plugin.javadoc.JavadocReportTest.txt
    31/Jul/08 4:36 PM
    0.8 kB
    John Casey

Issue Links

is related to

Bug - A problem which impairs or prevents the functions of the product. MNGFAQ-73 Where to get sun.jdk:tools:jar:1.4.0 on MacOSX?

  • 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
Benjamin Bentmann added a comment - 31/Jul/08 5:42 PM

IIRC, Mac has no tools.jar but a similar thing named classes.jar which is already part of the bootstrap class path I believe. So I coded up this patch. I have no Mac box to test it, so it's all up to you John. If it works, I leave it to Vincent to do a final review and maybe apply.

Show
Benjamin Bentmann added a comment - 31/Jul/08 5:42 PM IIRC, Mac has no tools.jar but a similar thing named classes.jar which is already part of the bootstrap class path I believe. So I coded up this patch. I have no Mac box to test it, so it's all up to you John. If it works, I leave it to Vincent to do a final review and maybe apply.
Hide
Permalink
Vincent Siveton added a comment - 31/Jul/08 6:42 PM

According [1], I am not sure if it is classes.jar. John?

[1] https://svn.codehaus.org/plexus/plexus-components/trunk/plexus-compiler/plexus-compilers/plexus-compiler-javac/src/main/java/org/codehaus/plexus/compiler/javac/JavacCompiler.java

Show
Vincent Siveton added a comment - 31/Jul/08 6:42 PM According [1] , I am not sure if it is classes.jar. John? [1] https://svn.codehaus.org/plexus/plexus-components/trunk/plexus-compiler/plexus-compilers/plexus-compiler-javac/src/main/java/org/codehaus/plexus/compiler/javac/JavacCompiler.java
Hide
Permalink
Vincent Siveton added a comment - 31/Jul/08 6:44 PM

John, could you zip your target dir?

Show
Vincent Siveton added a comment - 31/Jul/08 6:44 PM John, could you zip your target dir?
Hide
Permalink
Vincent Siveton added a comment - 01/Aug/08 5:58 AM

Thanks Benjamin! I modified your patch to make getToolsJar() always returns tools.jar (win unix) or classes.jar (mac) based on [1].
John, could you review this patch since I have no QA env that uses Mac?

[1] http://developer.apple.com/documentation/Java/Conceptual/Java14Development/02-JavaDevTools/JavaDevTools.html#//apple_ref/doc/uid/TP40001884-208117

Show
Vincent Siveton added a comment - 01/Aug/08 5:58 AM Thanks Benjamin! I modified your patch to make getToolsJar() always returns tools.jar (win unix) or classes.jar (mac) based on [1] . John, could you review this patch since I have no QA env that uses Mac? [1] http://developer.apple.com/documentation/Java/Conceptual/Java14Development/02-JavaDevTools/JavaDevTools.html#//apple_ref/doc/uid/TP40001884-208117

People

  • Assignee:
    Brett Porter
    Reporter:
    John Casey
Vote (0)
Watch (0)

Dates

  • Created:
    31/Jul/08 4:36 PM
    Updated:
    01/Aug/08 7:33 AM
    Resolved:
    01/Aug/08 7:33 AM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.