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