It's all about the answers!

Ask a question

Finding files

Sam Smith (2142) | asked Mar 29 '11, 4:46 a.m.
Hi there,

Does anyone have any boilerplate code for v2 which shows how to find a file with a given name in a given workspace from a TeamRepository? Is it any easier/different in v3?

Cheers, Sam.

One answer

permanent link
Sam Smith (2142) | answered Mar 30 '11, 4:51 a.m.
I should also probably mention that I have a handle to the root folder of the component that I got from the component that I knew like this...

IFolderHandle rootFolder = ci.getRootFolder();

but I'm struggling with finding a file from within there... any ideas?

Your answer

Register or 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.