Support for triggers
5 answers
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:
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
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:
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
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...
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
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:
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