How do I detach View labels?

0 Likes

Problem:

How do I detach View labels?

Resolution:

Product: StarTeam
Version: 2006
Component: StarTeam SDK
Platform: Windows

Question:

How do I detach View Labels?


Answer:

Detaching View labels can be achieved by using StarTeam SDK methods as explained below:

1) Log into the StarTeam server.

2) Load the Items that are to be updated using ItemListManager helper class, specifically the selectByLabel method.

http://techpubs.borland.com/starteam/2006/en/SDKDocs/api/com/starbase/starteam/ItemListManager.html#selectByLabel(com.starbase.starteam.Label)

3) After selecting the files using the selectByLabel method, recurse through the cached Items using one of the accessor methods and run the Label method detachItem on each reference.

http://techpubs.borland.com/starteam/2006/en/SDKDocs/api/com/starbase/starteam/Label.html#detachItem(com.starbase.starteam.Item)


Author: Rajalakshmi Arumugham
Old KB# 28875
Comment List
Related
Recommended