How to change the flow target programmatically?
Hi,
how can I change the flow target of a workspace programmatically by the server side? I know scmService.setWorkspaceFlows but I don't know how to retrieve the IFlowEntry and CurrentFlows input parameters. Is there an equivalent service of the PlainAPI's WorkspaceManager? Thanks Daniele |
3 answers
First, why do you need to change the flow target? Generally speaking the
flow targets are used just for the user interface for the current delivery and acceptance of changes (to make life easier for the user with context menus) - but if you're doing things programatically then this can be done without setting the flow target because you can specify the source and target. Andrew On Fri, 29 Jan 2010 10:53:02 -0500, kostja79 <daniele> wrote: Hi, -- |
Dear Andrew,
thank you for your reply. In fact, it is possible to deliver without changing the flow-target. However I am not able to use the method IScmService.deliverCombined to deliver only change-sets. If I put a null reference to baselines I obtain a NullPointerException. How can I deliver only change-sets and not baselines? Thanks. First, why do you need to change the flow target? Generally speaking the Hi, -- |
The API doc says that the array must not be null but I believe it may be
empty to do what you want (also as opposed to containing null entries). It seems odd too me that you are programming against the IScmService layer. Have you looked at the deliver method available on the IWorkspaceConnection interface? Andrew On Sun, 31 Jan 2010 16:52:57 -0500, kostja79 <daniele> wrote: Dear Andrew, -- |
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.