Setting workspace configuration based on stream using Java client API (RTC 4.0.3)
I'm wondering if there's an easy way to make a workspace identical to a stream configuration using the Java Client API?
I guess it must be something like running through all components and do a replace operation and then point to the stream configuration? |
One answer
I guess the easiest way to get around this is to create a new workspace directly from an existing stream:
ITeamRepository repo; public IWorkspaceConnection createWorkspaceFromStream(IContributorHandle owner, IWorkspaceHandle stream) { IWorkspaceConnection streamConn = SCMPlatform.getWorkspaceManager(repo).getWorkspaceConnection(stream, monitor); |
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.