Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to get Repository files Path information?

Hello,
As im using java API for my standlaone application. There is an situation where we need to get Parent path for the repository files.For eg,
component_name -> repository_files -> src -> file1.c
,

with '
file1.c' as child I need to get its parent path ( i.e. component_name/repository_files/src ). Is there any function in Jazz RTC to retrieve those information.

I tried all my efforts but can't meet the need.Kindly help me out.

Thanks in advance..

0 votes



One answer

Permanent link
This is not enough information, however similar questions have been asked here already.

https://www.google.com/search?q=get+parent+name+scm+site:jazz.net

https://rsjazz.wordpress.com/2013/10/15/extracting-an-archive-into-jazz-scm-using-the-plain-java-client-libraries/ has code that, on a repository workspace, tries to locate a file, but in this case the parent name(s) are clear. In your case it is absolutely unclear what type of object you have and thus there is no way to tell you how, assuming one would know this.

0 votes

Your answer

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

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,941

Question asked: Sep 07 '15, 12:24 a.m.

Question was seen: 2,292 times

Last updated: Sep 07 '15, 5:56 a.m.

Confirmation Cancel Confirm