[ 
http://jira.codehaus.org/browse/MNG-4846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=237370#action_237370
 ] 

Benjamin Bentmann edited comment on MNG-4846 at 10/4/10 5:30 AM:
-----------------------------------------------------------------

This works as designed, since {{"Value".equals( System.getProperty( 
"somePropertyName" ) ) == false}} when {{somePropertyName}} has not been 
specified.

      was (Author: bentmann):
    This works as designed, since {{"Value".equals( System.getProperty( 
"somePropertyName" ) ) == false}}.
  
> Profile activated accidentially
> -------------------------------
>
>                 Key: MNG-4846
>                 URL: http://jira.codehaus.org/browse/MNG-4846
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Profiles
>    Affects Versions: 2.2.1
>            Reporter: Maik Richey
>            Assignee: Benjamin Bentmann
>            Priority: Critical
>
> When you define a profile activated like
> {code}
>   ...
>   <profiles>
>     <profile>
>       <id>someCase</id>
>       <activation>
>         <activeByDefault>false</activeByDefault>
>         <property>
>           <name>somePropertyName</name>
>           <value>!Value</value>
>         </property>
>       </activation>
>       ...
>     </profile>
>   </profiles>
>   ...
> {code}
> this profile will also be activated when no property/profile is defined on 
> the command line. I expected that profile beeing activated only when you 
> supply -DsomePropertyName=NotTheValue.

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

        

Reply via email to