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 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: (Passed in: oleobject aole_File ) oleobject lole_Item ll_FileTotal = aole_File.References.Count() FOR ll_Counter = 1 TO ll_FileTotal IF lole_Item.View.Name = "yyy" THEN END IF
Name:
Subject:
Comments:
| Home
|
Modeling
|
Integrated
Development ALM
|
Version Control |
VoIP IP PBX Phone System |
Download
Free Evaluation |
Blog
| Developers
Forum |Delta
1000 | Fox Consult, P. O. Box 78, 194 22 Upplands
Vรคsby, Sweden. Telephone +46-8-626 8100. Skype: fox.consult

Re: Following a Shortcut (STW)
: Akeel
(In PowerBuilder)
Long ll_FileTotal
Long ll_Counter
lole_Item = aole_File.References.Item[ll_Counter - 1]
// process file ...
// if it exists in the view: "yyy"
NEXT
E-Mail:
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 Consult, 1994-2010.