You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2008/07/31 23:38:26 UTC
[jira] Created: (MJAVADOC-210) Unit tests fail on OS X
Unit tests fail on OS X
-----------------------
Key: MJAVADOC-210
URL: http://jira.codehaus.org/browse/MJAVADOC-210
Project: Maven 2.x Javadoc Plugin
Issue Type: Bug
Affects Versions: 2.5
Environment: 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
Reporter: John Casey
Priority: Critical
Attachments: build.log, org.apache.maven.plugin.javadoc.JavadocReportTest.txt
I'm attaching the build console output and surefire output file for the failing unit test.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (MJAVADOC-210) Unit tests fail on OS X
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MJAVADOC-210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter closed MJAVADOC-210.
---------------------------------
Resolution: Fixed
> Unit tests fail on OS X
> -----------------------
>
> Key: MJAVADOC-210
> URL: http://jira.codehaus.org/browse/MJAVADOC-210
> Project: Maven 2.x Javadoc Plugin
> Issue Type: Bug
> Affects Versions: 2.5
> Environment: 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
> Reporter: John Casey
> Assignee: Brett Porter
> Priority: Critical
> Fix For: 2.5
>
> Attachments: build.log, MJAVADOC-210.patch, MJAVADOC-210_new.patch, org.apache.maven.plugin.javadoc.JavadocReportTest.txt
>
>
> I'm attaching the build console output and surefire output file for the failing unit test.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MJAVADOC-210) Unit tests fail on OS X
Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MJAVADOC-210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=143808#action_143808 ]
Vincent Siveton commented on MJAVADOC-210:
------------------------------------------
John, could you zip your target dir?
> Unit tests fail on OS X
> -----------------------
>
> Key: MJAVADOC-210
> URL: http://jira.codehaus.org/browse/MJAVADOC-210
> Project: Maven 2.x Javadoc Plugin
> Issue Type: Bug
> Affects Versions: 2.5
> Environment: 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
> Reporter: John Casey
> Priority: Critical
> Attachments: build.log, MJAVADOC-210.patch, org.apache.maven.plugin.javadoc.JavadocReportTest.txt
>
>
> I'm attaching the build console output and surefire output file for the failing unit test.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MJAVADOC-210) Unit tests fail on OS X
Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MJAVADOC-210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vincent Siveton updated MJAVADOC-210:
-------------------------------------
Attachment: MJAVADOC-210_new.patch
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
> Unit tests fail on OS X
> -----------------------
>
> Key: MJAVADOC-210
> URL: http://jira.codehaus.org/browse/MJAVADOC-210
> Project: Maven 2.x Javadoc Plugin
> Issue Type: Bug
> Affects Versions: 2.5
> Environment: 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
> Reporter: John Casey
> Priority: Critical
> Fix For: 2.5
>
> Attachments: build.log, MJAVADOC-210.patch, MJAVADOC-210_new.patch, org.apache.maven.plugin.javadoc.JavadocReportTest.txt
>
>
> I'm attaching the build console output and surefire output file for the failing unit test.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MJAVADOC-210) Unit tests fail on OS X
Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MJAVADOC-210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=143807#action_143807 ]
Vincent Siveton commented on MJAVADOC-210:
------------------------------------------
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
> Unit tests fail on OS X
> -----------------------
>
> Key: MJAVADOC-210
> URL: http://jira.codehaus.org/browse/MJAVADOC-210
> Project: Maven 2.x Javadoc Plugin
> Issue Type: Bug
> Affects Versions: 2.5
> Environment: 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
> Reporter: John Casey
> Priority: Critical
> Attachments: build.log, MJAVADOC-210.patch, org.apache.maven.plugin.javadoc.JavadocReportTest.txt
>
>
> I'm attaching the build console output and surefire output file for the failing unit test.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MJAVADOC-210) Unit tests fail on OS X
Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MJAVADOC-210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vincent Siveton updated MJAVADOC-210:
-------------------------------------
Fix Version/s: 2.5
> Unit tests fail on OS X
> -----------------------
>
> Key: MJAVADOC-210
> URL: http://jira.codehaus.org/browse/MJAVADOC-210
> Project: Maven 2.x Javadoc Plugin
> Issue Type: Bug
> Affects Versions: 2.5
> Environment: 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
> Reporter: John Casey
> Priority: Critical
> Fix For: 2.5
>
> Attachments: build.log, MJAVADOC-210.patch, MJAVADOC-210_new.patch, org.apache.maven.plugin.javadoc.JavadocReportTest.txt
>
>
> I'm attaching the build console output and surefire output file for the failing unit test.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MJAVADOC-210) Unit tests fail on OS X
Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MJAVADOC-210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann updated MJAVADOC-210:
---------------------------------------
Attachment: MJAVADOC-210.patch
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.
> Unit tests fail on OS X
> -----------------------
>
> Key: MJAVADOC-210
> URL: http://jira.codehaus.org/browse/MJAVADOC-210
> Project: Maven 2.x Javadoc Plugin
> Issue Type: Bug
> Affects Versions: 2.5
> Environment: 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
> Reporter: John Casey
> Priority: Critical
> Attachments: build.log, MJAVADOC-210.patch, org.apache.maven.plugin.javadoc.JavadocReportTest.txt
>
>
> I'm attaching the build console output and surefire output file for the failing unit test.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira