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

Using a component that has been deleted

RTC 4.0.0.2

I have a component that has been removed from all workspaces.

I now want to create a new workspace and add the (previously deleted) component to it.

In the workspace editor, pressing the "Add" button will find the component in an existing workspace, but I haven't found a way to add a component that isn't presently part of another workspace.

P.S.  I suppose a followup question is: Can I completely remove a component from RTC ..i.e. as if the component never existed.  

0 votes



2 answers

Permanent link
You can never delete a component to an irrecoverable point. In fact, there are users that request this feature. When you removed the component from the other workspaces, baselines were automatically created to save the component's configuration. To add the component to a workspace, you would want to select adding a component baseline instead of from an existing workspace.

If none of the baselines describe the configuration that you want then that's OK. It's likely nobody thought to baseline that configuration. In that case, add a component baseline that is closest to what you want and discard/accept change sets to get the component to the configuration you desire.

0 votes

Comments

 Thanks Tim


We really want the deleted component with all of its baselines and history re-added to a new workspace.  It not a big problem for us since we can recreate the entire component from scratch (using the SVN importer).

This seems like a good candidate for an enhancement request.

The component is not deleted because you can't delete a component. It's the component's configuration from when you removed it from a workspace. When you removed it from the workspace, the configuration was automatically baselined. When you add a component to a workspace, select that you want to add a component baseline and find that baseline in the list.

Yes, I understand that the component cannot be 'actually' deleted.  But since it can't be deleted,  it seems reasonable that RTC should enable users to add it back to a new workspace ... with all of its baselines.

I was referring to the need for an enhancement to allow the addition of all the deleted component's baseline's to a workspace.


As a sidebar, I believe there's already an enhancement request to allow the true 'deletion' of a component.   

I recall there being a work item requesting a way to make it easier to undo a component deletion but I can't find it. Or maybe I'm mistaken and you could request it.

I'm not sure what you mean by adding all the component's baselines to a workspace. That could potentially be a lot of baselines and what I think really matters is you end up with all the change sets that you need. If a baseline describes that, you don't need the other baselines. The baselines exist in the repository and if you need to switch to it then do so. I don't really see a need to have a baseline in your workspace if it's not your latest one.


Permanent link
Using RTC-4.0.3 Eclipse client, when I am in the workspace editor, and select "Add ..." in the Components section, I get 3 choices: Component Baseline, Component in another Workspace or Stream, and Component from a Snapshot.
The first choice lets you pick any component in the repository (including ones that are not in any stream or workspace).
But note that you cannot select a component for which you do not have read-access (if you don't have read access, you do not see it at all).

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
× 12,015

Question asked: Jul 17 '13, 7:57 a.m.

Question was seen: 4,457 times

Last updated: Jul 17 '13, 2:03 p.m.

Confirmation Cancel Confirm