From 2bc772a524bbff26143469e00cfe3d97cbc4d95f Mon Sep 17 00:00:00 2001 From: John Dennis Casey Date: Wed, 12 Oct 2005 20:40:34 +0000 Subject: [PATCH] Resolving: MNG-1155...Applied patch for OS X path of javadoc. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@315040 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/maven/plugin/javadoc/JavadocReport.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/maven-plugins/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocReport.java b/maven-plugins/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocReport.java index d52c46a160..1e106676f2 100644 --- a/maven-plugins/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocReport.java +++ b/maven-plugins/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocReport.java @@ -885,6 +885,10 @@ public class JavadocReport { javadocExe = new File( SystemUtils.getJavaHome() + "/../sh", javadocCommand ); } + else if ( SystemUtils.IS_OS_MAC_OSX ) + { + javadocExe = new File( SystemUtils.getJavaHome() + "/bin", javadocCommand ); + } else { javadocExe = new File( SystemUtils.getJavaHome() + "/../bin", javadocCommand );