Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

 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?

0 votes


Accepted answer

Permanent link
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

1 vote

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,926

Question asked: Mar 22 '13, 12:23 p.m.

Question was seen: 4,525 times

Last updated: Mar 22 '13, 3:04 p.m.

Confirmation Cancel Confirm