There is no difference - internally CC.NET resolves the <triggers> element
into a multiTrigger.

 

The second approach is more concise, so I would recommend using that.

 

 

Craig

 

From: [email protected] [mailto:[email protected]] On
Behalf Of Benjamin Baumann
Sent: Wednesday, 28 July 2010 9:58 p.m.
To: [email protected]
Subject: [ccnet-user] Multiple triggers

 

Hi,

Is there a difference beetween the following conf blocks :

<triggers>
       <multiTriggers>
              <triggers>
                     <triggerA />
                     <triggerB />
                     <triggerC />
                     <triggerD />
              </triggers>
       </multiTriggers>
<triggers>

AND

<triggers>
    <triggerA />
    <triggerB />
    <triggerC />
    <triggerD />
<triggers>

What's the best pratice to have multiple triggers (in my case project
triggers)?

Thanks in advance,

With kind regards,
Benjamin Baumann

Reply via email to