Loadrule to avoid extracting projects from certain components
I have several components in my stream and personal workspace. For a certain build I just need projects from a single component and would like to avoid extracting unnecessary files using a 'Component load rules:' file in the 'Request Build' dialog.
My loadrule content looks like this:
<scm:sourceControlLoadRule xmlns:scm="http://com.ibm.team.scm" version="1"> <!-- INCLUDE Documentation component -->
However, the projects from component OtherComponent are still extracted ?!
(Note that I do a personal build and that the workspace defined in the build definition in contrast to my personal workspace only contains the desired component, so that I cannot use the 'Components to exclude' in the build definition...)
How can I avoid extracting the projects from OtherComponent ?
|
Accepted answer
You need to be on RTC 6.0.5 to have the build only load the components defined in the Load Rule.
This was implemented in: [CCM] Load rules need to behave the same in RTC Builds, as they do in RTC SCM (420853)
For an explanation of why this behavior is the way it is (prior to 6.0.5. that is), please read the comments in: Load workspace from load rules file, when performed by a build, needs to behave the same as in SCM (371621)
Frank Herrmann selected this answer as the correct answer
Comments
Frank Herrmann
commented Mar 18 '19, 4:37 a.m.
Thanks! Our RTC is still on 6.0.4, so I requested an upgrade...
|
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.
Comments
comment deleted