maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jo Support <jo.supp...@gmail.com>
Subject Activating profiles by multiple properties
Date Fri, 23 Nov 2012 09:04:51 GMT
Hello people, I'm in need to activate profiles by multiple property and
multiple values.

For example:

*Profile:* OpenTheDoor
*Condition:* IAmInTheMood=TRUE *AND* *(*PersonAtTheDoor=MyBrother
*OR*PersonAtTheDoor=MySister
*)*
*
*
I figured out something like:

<profile>
<id>OpenTheDoor</id>
<activation>
<property>
<name>IAmInTheMood</name>
<value>TRUE</value>
</property>
<property>
<name>PersonAtTheDoor</name>
<value>MyBrother</value>
<value>MySister</value>
</property>
</activation>
...
</profile>

Do you think it should work?
Are properties linked with AND and multiple values of a properties linked
with OR?

Thanks a lot,
Jo

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message