| Home | ALM | Requirements Management | Test Management | Project Planning | Bug Tracking | Honeywell Delta 1000 Gateway |
|
Modeling | Latest Versions | Product Presentations | Download Free Evaluation | Newsgroups | Developers Forum |


StarTeam Version Control

Discussion Forum for StarTeam Users


Re: Following a Shortcut (STW)


[ Follow Ups ] [ Post Followup ] [ Discussion Forum for StarTeam Users]

Posted by Greg Spall on May 30, 2003 at 13:18:42:

In Reply to: Following a Shortcut (STW) posted by Akeel Nazir on May 29, 2003 at 06:28:30:

: How do I follow a shortcut programatically. I'm trying to mass-checkout files from StarTeam 5.2 repository, but shortcuts is a potential bottleneck. Please let me know if anyone has some code written for a similar task.

: Warm Regards
: Akeel

I don't know if this helps (different versions ..)

But I have StarTeam 5.1, and using the SDK:

IstFile object has a property: References.

It's a collection; you can systematically rip through that list (essentially an array), and find the items you're looking for.

For example:
(In PowerBuilder)

(Passed in: oleobject aole_File )

oleobject lole_Item
Long ll_FileTotal
Long ll_Counter

ll_FileTotal = aole_File.References.Count()

FOR ll_Counter = 1 TO ll_FileTotal
lole_Item = aole_File.References.Item[ll_Counter - 1]

IF lole_Item.View.Name = "yyy" THEN

// process file ...
// if it exists in the view: "yyy"

END IF
NEXT



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:


[ Follow Ups ] [ Post Followup ] [ Discussion Forum for StarTeam Users]

| Home | Modeling | Integrated Development ALM | Download Free Evaluation | Newsgroups | Developers Forum |Delta 1000 |

Fox Data AB, P. O. Box 78, 194 22 Upplands Vรคsby, Sweden. Telephone +46-8-626 8100.
For general information, please send an e-mail to: Info. For sales inquiries contact: Sales. If you have questions about our web site, please contact Webmaster. Copyright Fox Data AB, 1993 - 2008.