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