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

Bernd Bohmann commented on MNG-1509:
------------------------------------

I want to add tools.jar as dependency only if i'm not on a mac.

Mac X has no tools.jar 

   <profile>
      <id>tools.jar</id>
      <activation>
        <os><family>!mac</family></os>
      </activation>
      <dependencies>
        <dependency>
          <groupId>sun.jdk</groupId>
          <artifactId>tools</artifactId>
          <version>1.5.0</version>
          <scope>system</scope>
          <systemPath>${java.home}/../lib/tools.jar</systemPath>
        </dependency>
      </dependencies>
    </profile>

> Profile activation by os doesn't work
> -------------------------------------
>
>          Key: MNG-1509
>          URL: http://jira.codehaus.org/browse/MNG-1509
>      Project: Maven 2
>         Type: Bug
>   Components: maven-project
>     Versions: 2.0
>  Environment: Ubuntu 5.10 maven 2.0
>     Reporter: Bernd Bohmann
>  Attachments: DefaultProfileManagerTest.java.patch, 
> OperatingSystemProfileActivator.java.patch, components.xml.patch
>
>
> Profile activation by os doesn't work.
> OperatingSystemProfileActivator is missing in components.xml.
> Implementation of OperatingSystemProfileActivator.isActive is wrong.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to