What is the difference between "Deliver (server)" operation and "Deliver Phase 2" one ?
I supposed to implement a server side operation participant by a deliver operation.
I wonder which operation Id is better. What is the difference between "Deliver (server)" and "Deliver Phase 2"? |
Accepted answer
I found the description the difference of those 2 operations in the javadoc of ISCMDelta class.
Seems that, if you need the "contents" or the "properties" or the full path of the file is required to implement the behavior you need to use phase 2. Otherwise you can use phase1 so that you may save the computer power when your process adviser stops the farther operation. The followings are the quote from the javadoc of v4.0.2 SDK com.ibm.team.scm.common.process.IScmDelta Phase 1
Phase 2
Yasuyuki Kubota selected this answer as the correct answer
|
3 other answers
Geoffrey Clemm (30.1k●3●30●35)
| answered Jan 31 '14, 3:04 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I have always assumed that the purpose of these two operations is to allow you to have one group of follow-up actions that are performed first. So if you don't care whether your follow-up is performed in the first group or the second group, you can flip a coin to decide which operation to use. If someone believes that assumption is incorrect, please post a correction.
|
Hi Yasuki,
This subject is described in Source control process recipes for Rational Team Concert Deliver (server) Runs: Before delivery of baselines, change sets, or on a component replacement. Affects: All components in streams owned by the process area. The Deliver (server) operation runs on the server before change sets are added or removed from a component. The operation is run on the set of change sets that are being added to (or removed from) a component, which is computationally less expensive than the subsequent Deliver Phase 2 (server) operation. Deliver Phase 2 (server) Runs: Before the delivery of baselines and change sets, or on a component replacement. Affects: All components in streams owned by the process area. The Phase 2 delivery operation occurs before a deliver, but after the server has calculated the computationally intensive before/after states of each item that will be modified. |
Saitoh-san,
Thanks for your detailed information.I finally understand well. I chose "Deliver Phase 1" because my operation participant don't need the contents of files, properties, or the shape of the file system. |
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.