It's all about the answers!

Ask a question

How to get Repository files Path information?

Surya Raj (17116) | asked Sep 07 '15, 12:24 a.m.
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..

One answer

permanent link
Ralph Schoon (62.7k33643) | answered Sep 07 '15, 5:56 a.m.
This is not enough information, however similar questions have been asked here already. 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.

Your answer

Register or to post your answer.