Maven 2.x Javadoc Plugin

Unit tests fail on OS X

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 2.5
  • Fix Version/s: 2.5
  • Component/s: None
  • Labels:
    None
  • Environment:
  • Number of attachments :
    4

Description

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

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

Issue Links

Activity

Hide
Benjamin Bentmann added a comment -

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 - 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
Vincent Siveton added a comment -

John, could you zip your target dir?

Show
Vincent Siveton added a comment - John, could you zip your target dir?
Hide
Vincent Siveton added a comment -

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

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: