You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Graham Leggett (JIRA)" <ji...@codehaus.org> on 2007/02/07 12:51:44 UTC

[jira] Created: (MNG-2814) OS name is only detected if lower cased

OS name is only detected if lower cased
---------------------------------------

                 Key: MNG-2814
                 URL: http://jira.codehaus.org/browse/MNG-2814
             Project: Maven 2
          Issue Type: Bug
          Components: Profiles
    Affects Versions: 2.0.4
            Reporter: Graham Leggett


The following profile does not activate on MacosX:

    <profile>
      <id>activate-mac</id>
      <activation>
        <os>
          <name>Mac OS X</name>
        </os>
      </activation>
    </profile>

"Mac OS X" matches the value returned when querying ${os.name}.

If you lowercase the name, the profile is activated:

    <profile>
      <id>activate-mac</id>
      <activation>
        <os>
          <name>mac os x</name>
        </os>
      </activation>
    </profile>

This is counter intuitive, as one would expect the exact cut and pasted (capitalised) ${os.name} value to work as an OS name in a profile.


-- 
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] Reopened: (MNG-2814) OS name is only detected if lower cased

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann reopened MNG-2814:
------------------------------------


> OS name is only detected if lower cased
> ---------------------------------------
>
>                 Key: MNG-2814
>                 URL: http://jira.codehaus.org/browse/MNG-2814
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Profiles
>    Affects Versions: 2.0.4
>            Reporter: Graham Leggett
>            Assignee: Vincent Siveton
>             Fix For: 2.0.6
>
>
> The following profile does not activate on MacosX:
>     <profile>
>       <id>activate-mac</id>
>       <activation>
>         <os>
>           <name>Mac OS X</name>
>         </os>
>       </activation>
>     </profile>
> "Mac OS X" matches the value returned when querying ${os.name}.
> If you lowercase the name, the profile is activated:
>     <profile>
>       <id>activate-mac</id>
>       <activation>
>         <os>
>           <name>mac os x</name>
>         </os>
>       </activation>
>     </profile>
> This is counter intuitive, as one would expect the exact cut and pasted (capitalised) ${os.name} value to work as an OS name in a profile.

-- 
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: (MNG-2814) OS name is only detected if lower cased

Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vincent Siveton closed MNG-2814.
--------------------------------

      Assignee: Vincent Siveton
    Resolution: Cannot Reproduce

Already fixed by PLXUTILS-3 for Maven >= 2.0.6

> OS name is only detected if lower cased
> ---------------------------------------
>
>                 Key: MNG-2814
>                 URL: http://jira.codehaus.org/browse/MNG-2814
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Profiles
>    Affects Versions: 2.0.4
>            Reporter: Graham Leggett
>            Assignee: Vincent Siveton
>             Fix For: Reviewed Pending Version Assignment
>
>
> The following profile does not activate on MacosX:
>     <profile>
>       <id>activate-mac</id>
>       <activation>
>         <os>
>           <name>Mac OS X</name>
>         </os>
>       </activation>
>     </profile>
> "Mac OS X" matches the value returned when querying ${os.name}.
> If you lowercase the name, the profile is activated:
>     <profile>
>       <id>activate-mac</id>
>       <activation>
>         <os>
>           <name>mac os x</name>
>         </os>
>       </activation>
>     </profile>
> This is counter intuitive, as one would expect the exact cut and pasted (capitalised) ${os.name} value to work as an OS name in a profile.

-- 
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: (MNG-2814) OS name is only detected if lower cased

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann closed MNG-2814.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.6

> OS name is only detected if lower cased
> ---------------------------------------
>
>                 Key: MNG-2814
>                 URL: http://jira.codehaus.org/browse/MNG-2814
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Profiles
>    Affects Versions: 2.0.4
>            Reporter: Graham Leggett
>            Assignee: Vincent Siveton
>             Fix For: 2.0.6
>
>
> The following profile does not activate on MacosX:
>     <profile>
>       <id>activate-mac</id>
>       <activation>
>         <os>
>           <name>Mac OS X</name>
>         </os>
>       </activation>
>     </profile>
> "Mac OS X" matches the value returned when querying ${os.name}.
> If you lowercase the name, the profile is activated:
>     <profile>
>       <id>activate-mac</id>
>       <activation>
>         <os>
>           <name>mac os x</name>
>         </os>
>       </activation>
>     </profile>
> This is counter intuitive, as one would expect the exact cut and pasted (capitalised) ${os.name} value to work as an OS name in a profile.

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