RTC Load Rule
HI RTC SME,
I was wondering how could I load a single file into my workspace using the load rule. The one below is the default load rule, which part should i change to load a singe file?
<itemLoadRule alternateName="Component_Dev">
Sample /zOSsrc/<folder>/<file>.<file ext> |
One answer
Geoffrey Clemm (30.1k●3●30●35)
| answered Apr 06 '15, 10:20 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
The easiest way to generate a load rule is to use the Eclipse client to load the desired file (from the Repository Files view), and then generate the load rule from Window->Preferences->Sandboxes . In particular, it is usually best to use the UUID form of the load rule, and this will obtain the right UUID for you.
Comments
Verdan Salay
commented Apr 06 '15, 10:39 a.m.
Hi Geoffrey, The load rule above is got by using the steps you provided. I'm asking how to modify it to make it load just a single file in the whole component.
Regards
Geoffrey Clemm
commented Apr 06 '15, 11:15 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I believe the load rule generator tries to be "helpful", and if you load a file that is the only member of a given directory, it will generate a load rule for that directory (which implicitly will load that file). If you have more than one file in the directory, it will generate a "single item" load rule, such as:
Verdan Salay
commented Apr 06 '15, 12:54 p.m.
how to generate a load rule for a directory, its just create for the whole component. There is no option to go deeper.
Geoffrey Clemm
commented Apr 06 '15, 5:41 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I don't understand this comment. Are you asking whether you can create a load rule for a directory? If so, the answer is yes, and the load rule you originally posted is an example of such a load rule. The component itemId needs to be specified in the load rule because folders with the same ItemId can appear in multiple components.
|
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.