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

Export a list with the full paths of the files/folders of a component in a snapshot considering a load rule file

Environment:
Windows 7 x64 bit
RTC 6.0.4

Is there an RTC API, which extracts/exports the full path of each file/folder in a component from a snapshot applying/considering the specified file/folder paths in a given load rule file?

Input:
RTC repository URL address
Username and password
load rule file
component name(s)

Output: List with the component files/folders with their full paths extracted from the input load rule file.
             The files are grouped by component
             The output file format should be JSON / XML

0 votes



One answer

Permanent link
There is no API or existing CLI command to do this (there has previously been no use case or need for this).
Best bet is to manually create a repository workspace from the desired snapshot, then load the repository workspace from the load rule. Then write some script to gather the filenames/paths of the loaded file tree on disk.

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,927
× 1,201
× 158

Question asked: May 17 '18, 7:29 a.m.

Question was seen: 2,912 times

Last updated: Jun 01 '18, 3:08 p.m.

Confirmation Cancel Confirm