[ 
http://jira.codehaus.org/browse/MCOMATTR-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dennis Lundberg moved MOJO-166 to MCOMATTR-2:
---------------------------------------------

    Component/s:     (was: aspectj)
                     (was: commons-attributes)
            Key: MCOMATTR-2  (was: MOJO-166)
        Project: Maven 2.x Commons Attributes Plugin  (was: Mojo)

> tools.jar
> ---------
>
>                 Key: MCOMATTR-2
>                 URL: http://jira.codehaus.org/browse/MCOMATTR-2
>             Project: Maven 2.x Commons Attributes Plugin
>          Issue Type: Bug
>         Environment: mac os
>            Reporter: Kaare Nilsen
>            Assignee: Carlos Sanchez
>
> What is described in http://jira.codehaus.org/browse/MEV-241shouldalso apply 
> for aspectj reporting since it is using tools.jar
> copied from the issue listed above.
>  commons-attributes-compiler-2.1.pom has the following dependency:
>     <dependency>
>       <groupId>java</groupId>
>       <artifactId>tools</artifactId>
>       <version>1.4</version>
>       <systemPath>${java.home}/../lib/tools.jar</systemPath>
>       <scope>system</scope>
>     </dependency>
> This breaks on MacOSX which doesn't have a tools.jar. After discussing this 
> with brett he pointed me to it0063 in maven-core-it which solved this using 
> profiles as follows:
>   <profiles>
>     <profile>
>       <!-- NOTE: This will not be activated on OS X, since classes.jar 
> already has the tools in it. -->
>       <id>default-tools.jar</id>
>       <activation>
>         <property>
>           <name>java.vendor</name>
>           <value>Sun Microsystems Inc.</value>
>         </property>
>       </activation>
>       <dependencies>
>         <dependency>
>           <groupId>sun.jdk</groupId>
>           <artifactId>tools</artifactId>
>           <version>1.4.2</version>
>           <scope>system</scope>
>           <systemPath>${java.home}/../lib/tools.jar</systemPath>
>         </dependency>
>       </dependencies>
>     </profile>
>   </profiles>
> I have checked out the repo and make the change and will attach the patch 
> file. (Is there someway I could have tested this first?)

-- 
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 from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to