You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "fabrizio giustina (JIRA)" <ji...@codehaus.org> on 2005/09/12 16:55:03 UTC

[jira] Commented: (MNG-869) Reference to non existent tools.jar on mac os x

    [ http://jira.codehaus.org/browse/MNG-869?page=comments#action_46205 ] 

fabrizio giustina commented on MNG-869:
---------------------------------------

tools.jar does'nt exist on Mac OSX.
http://developer.apple.com/documentation/Java/Conceptual/Java14Development/02-JavaDevTools/JavaDevTools.html

I know maven already do this, probably the same "conversion" should be applied to system dependencies:
# For Darwin, use classes.jar for TOOLS_JAR
TOOLS_JAR="${JAVA_HOME}/lib/tools.jar"
if $darwin; then
TOOLS_JAR="/System/Library/Frameworks/JavaVM.framework/Versions/${JAVA_VERSION}/Classes/classes.jar"
fi


> Reference to non existent tools.jar on mac os x
> -----------------------------------------------
>
>          Key: MNG-869
>          URL: http://jira.codehaus.org/browse/MNG-869
>      Project: Maven 2
>         Type: Bug
>   Components: maven-core
>     Versions: 2.0-beta-1
>  Environment: Mac OS X tiger java 1.4.2
>     Reporter: Guest
>     Priority: Minor

>
>
> After running
> sh m2-bootstrap-all.sh 
> I got the following integration failure pasted below. I also ran 'find . -name tools.jar' from my java home directory and got no results.
> [INFO] BUILD FAILURE
> [INFO] ----------------------------------------------------------------------------
> [INFO] Main Error:
>   System artifact: jdk-tools:jdk-tools:jar:1.4.2 not found in path: /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/../lib/tools.jar
>   jdk-tools:jdk-tools:1.4.2:jar
> Path to dependency: 
>         1) org.apache.maven.it:maven-core-it0063:jar:1.0
>         2) jdk-tools:jdk-tools:jar:1.4.2
> Root error:
>   System artifact: jdk-tools:jdk-tools:jar:1.4.2 not found in path: /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/../lib/tools.jar
>   jdk-tools:jdk-tools:1.4.2:jar
> Path to dependency: 
>         1) org.apache.maven.it:maven-core-it0063:jar:1.0
>         2) jdk-tools:jdk-tools:jar:1.4.2

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org