It's all about the answers!

Ask a question

need to fetch specific file.


Sumit Singh Tomar (256) | asked Aug 07 '14, 5:57 a.m.
 Hi All, 

Another requirnment...

we have accessing one file called responseStylesheet.process

for this we got the component and 

we are itrating through all the file structure or foler....

can we have a optimize way so that we can directly fetch this file...

Thanks,
Sumit

One answer



permanent link
Winston Enos (33116) | answered Aug 07 '14, 2:21 p.m.
Sumit,

If I understand that question, you have a file under source control in a component and you want to just specifically get to that file.

There are 2 ways: IDE or CLI.

1. Using Eclipse, for example, you can right-click a component, Show -> Repository Files, and then right-click a file and select "Load', it will then give you a window on where you want to load the file to.

2. Using the command-line (CLI) you can use the command "scm.exe get file" documented at http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0m5/topic/com.ibm.team.scm.doc/topics/get_file.html

Comments
Sumit Singh Tomar commented Aug 08 '14, 12:52 a.m. | edited Aug 08 '14, 8:13 a.m.

 Hi Winston, 


Thanks for the same, 
its my mistake not to specify that this task i need to do by java API...

I have done that but its taking 2 min to fetch the file from RTC server in java program.

Thanks,
Sumit

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.