no that is a test for a property value where no set would be "" its not a 
boolean test
On Friday 28 September 2007 07:29, Yan Huang wrote:
> Hello,
>
> If I want to activate a profile if either of the following two conditions
> is satisfied, how can I do it?
>
>    - if the environment variable ${maven.test.skip} is not defined
>    - if the environment variable ${maven.test.skip} is not "true"
>
> I was hoping the tag below can take care of it but it didn't work for the
> above first condition. I mean, if that variable is not defined, shouldn't
> it be treated as "false" implicitly?
>
>       <activation>
>         <property>
>           <name>maven.test.skip</name>
>           <value>false</value>
>         </property>
>       </activation>
>
> Thanks
> Yan

-- 
Michael McCallum
Enterprise Engineer
mailto:[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to