It's all about the answers!

Ask a question

Support for triggers


Adolfo Casari (2154) | asked Jan 16 '09, 11:10 a.m.
Hi,

RTC supports the use of triggers as ClearCase does?

5 answers



permanent link
John Camelon (1.7k14) | answered Jan 16 '09, 4:38 p.m.
JAZZ DEVELOPER
acasari wrote:
Hi,

RTC supports the use of triggers as ClearCase does?


Not at this time.

Regards,
JohnC
SCM Server

permanent link
Geoffrey Clemm (30.1k33035) | answered Jan 16 '09, 8:48 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Note though that you can use Jazz process to define preconditions and
postconditions on the "deliver" operation, which allows you to handle
some of the use cases that ClearCase triggers are used for.

Cheers,
Geoff

John Camelon wrote:
acasari wrote:
Hi,

RTC supports the use of triggers as ClearCase does?


Not at this time.

Regards,
JohnC
SCM Server

permanent link
John Camelon (1.7k14) | answered Jan 19 '09, 9:18 a.m.
JAZZ DEVELOPER
This is not entirely true. Wrt to pre-conditions : yes, you can write
an advisor. Post-conditions : no. All advisors run before the deliver
operation completes. There is no opportunity to fail the deliver
operation based upon the results of its success.

Also note that in 1.0.*, custom SCM process advisors only run on
deliver, and not on component operations which also change the
configuration of the stream. Thus, your mileage may vary in this
approach.

We are looking to make this more robust in future releases.

JohnC
SCM Server


Geoffrey Clemm wrote:
Note though that you can use Jazz process to define preconditions and
postconditions on the "deliver" operation, which allows you to handle
some of the use cases that ClearCase triggers are used for.

Cheers,
Geoff

John Camelon wrote:
acasari wrote:
Hi,

RTC supports the use of triggers as ClearCase does?


Not at this time.

Regards,
JohnC
SCM Server

permanent link
Maneesh Mehra (20111) | answered Jan 19 '09, 2:08 p.m.
JAZZ DEVELOPER
Which is also true in case of ClearCase post-op triggers that do not fail
the operation if they fail. Only the pre-op triggers have the capability of
failing the operation.

Thanks,

Maneesh

"John Camelon" <jcamelon> wrote in message
news:gl21qt$64j$1@localhost.localdomain...
This is not entirely true. Wrt to pre-conditions : yes, you can write an
advisor. Post-conditions : no. All advisors run before the deliver
operation completes. There is no opportunity to fail the deliver operation
based upon the results of its success.

Also note that in 1.0.*, custom SCM process advisors only run on deliver,
and not on component operations which also change the configuration of the
stream. Thus, your mileage may vary in this approach.

We are looking to make this more robust in future releases.

JohnC
SCM Server


Geoffrey Clemm wrote:
Note though that you can use Jazz process to define preconditions and
postconditions on the "deliver" operation, which allows you to handle
some of the use cases that ClearCase triggers are used for.

Cheers,
Geoff

John Camelon wrote:
acasari wrote:
Hi,

RTC supports the use of triggers as ClearCase does?


Not at this time.

Regards,
JohnC
SCM Server

permanent link
Geoffrey Clemm (30.1k33035) | answered Jan 19 '09, 4:58 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
My understanding was that Jazz process does (in general) allow you to
declare post-op code that runs only if the operation succeeds. Is this
not the case for the Jazz-SCM "deliver" operation?

Cheers,
Geoff



Maneesh Mehra wrote:
Which is also true in case of ClearCase post-op triggers that do not fail
the operation if they fail. Only the pre-op triggers have the capability of
failing the operation.

Thanks,

Maneesh

"John Camelon" <jcamelon> wrote in message
news:gl21qt$64j$1@localhost.localdomain...
This is not entirely true. Wrt to pre-conditions : yes, you can write an
advisor. Post-conditions : no. All advisors run before the deliver
operation completes. There is no opportunity to fail the deliver operation
based upon the results of its success.

Also note that in 1.0.*, custom SCM process advisors only run on deliver,
and not on component operations which also change the configuration of the
stream. Thus, your mileage may vary in this approach.

We are looking to make this more robust in future releases.

JohnC
SCM Server


Geoffrey Clemm wrote:
Note though that you can use Jazz process to define preconditions and
postconditions on the "deliver" operation, which allows you to handle
some of the use cases that ClearCase triggers are used for.

Cheers,
Geoff

John Camelon wrote:
acasari wrote:
Hi,

RTC supports the use of triggers as ClearCase does?

Not at this time.

Regards,
JohnC
SCM Server

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.