It's all about the answers!

Ask a question

How do I create Workspaces and Stream in a Server Extension?


Andrew Soloninka (5511924) | asked Mar 22 '13, 12:23 p.m.
 I am creating a server extension that among other things needs to programatically create a workspace and a stream. I was using IWorkspaceManager from SCMPlatform as in:

IWorkspaceManager manager = SCMPlatform.getWorkspaceManager(repository);

IWorkspaceManager contains the .createStream and .createWorkspace but it is part of Client API.

How do create a stream and a workspace using the Server API?

Accepted answer


permanent link
Jorge Diaz (8664434) | answered Mar 22 '13, 3:04 p.m.
JAZZ DEVELOPER
Hi Andrew,

have a look at "IScmService". This service provides the server side operations you were invoking in the client side, so once you get the service from the extension, your code would be fairly the same.

Thanks,

Jorge.
Andrew Soloninka selected this answer as the correct answer

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.