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 (8664134) | 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.