[ 
https://jira.codehaus.org/browse/MWEBSTART-175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=281903#comment-281903
 ] 

Tony Chemit commented on MWEBSTART-175:
---------------------------------------

Ok done in r14884.

> integration tests fail on Mac OS X because tools.jar
> ----------------------------------------------------
>
>                 Key: MWEBSTART-175
>                 URL: https://jira.codehaus.org/browse/MWEBSTART-175
>             Project: Maven 2.x Webstart Plugin
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.0-beta-2
>         Environment: Mac OS X 10.6
>            Reporter: The Alchemist
>            Assignee: Tony Chemit
>         Attachments: maven-webstart-fix.it.tests.on.mac.os.x.txt, 
> mwebstart-mac.os.x.fix.for.it009.txt
>
>
> {{tools.jar}} doesn't exist on Mac OS X (at least not until OpenJDK is ported 
> to it and it becomes the standard JVM).  The proper way is to use profiles to 
> use Mac OS X's {{classes.jar}} instead:
> {code:xml}
> <profiles>
>     <profile>
>         <id>default-profile</id>
>         <activation>
>             <activeByDefault>true</activeByDefault>
>             <file>
>                 <exists>${java.home}/../lib/tools.jar</exists>
>             </file>
>         </activation>
>         <properties>
>             <toolsjar>${java.home}/../lib/tools.jar</toolsjar>
>         </properties>
>     </profile>
>     <profile>
>         <id>mac-profile</id>
>         <activation>
>             <activeByDefault>false</activeByDefault>
>             <file>
>                 <exists>${java.home}/../Classes/classes.jar</exists>
>             </file>
>         </activation>
>         <properties>
>             <toolsjar>${java.home}/../Classes/classes.jar</toolsjar>
>         </properties>
>     </profile>
> </profiles>
> {code}
> The patch adds this to the integration tests that need it.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to