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

Is there a way to delete a workspace from scm

I have gone through the process or creating a new workspace, to load from a snaphot and chain some automation off of that, but I would like to also cleanup after this process, so I am looking for a way to automate the workspace removal as well.

Feel free to point me at the doc if I missed it or offer any other suggestions.

-Sean

0 votes



2 answers

Permanent link
From the GUI, just right click on a workspace and select the DELETE
operation. Don't know off-hand what the API call is, but there
definitely is one (the GUI operation needs to call something :-).

Cheers,
Geoff

swilbur wrote:
I have gone through the process or creating a new workspace, to load
from a snaphot and chain some automation off of that, but I would
like to also cleanup after this process, so I am looking for a way to
automate the workspace removal as well.

Feel free to point me at the doc if I missed it or offer any other
suggestions.

-Sean

0 votes


Permanent link
The API is com.ibm.team.scm.client.IWorkspaceManager.deleteWorkspace(IWorkspaceHandle, IProgressMonitor)

To get an IWorkspaceManager, use com.ibm.team.scm.client.SCMPlatform.getWorkspaceManager(ITeamRepository)

0 votes

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

Question asked: Apr 22 '10, 9:38 a.m.

Question was seen: 6,356 times

Last updated: Apr 22 '10, 9:38 a.m.

Confirmation Cancel Confirm