Ignoring changes in dependency builds

If you change a file and the changes do not warrant the rebuilding of any programs, flag the file to be ignored.

Before you begin

A project administrator can set process controls at the project level to prevent users from ignoring changes. If you do not want all users to be able to ignore changes, you must modify this operation behavior permission from the Project Area editor.
  1. Open your project area, and then open the Process Configuration tab.
  2. In the Configuration section, expand the Team Configuration node, and then click Operation Behavior.
  3. In the Operations table, expand the Source Control node and select the Everyone cell next to Deliver Phase 2 (server).
  4. Select the Preconditions and follow-up actions are configured for this operation check box.
  5. Next to the Preconditions field, click Add. The Add Preconditions wizard opens.
  6. In the Add Preconditions wizard, select Check Ignore Changes permissions, and then click OK.
  7. Click Save.

If you or an administrator sets this precondition, users must have the Ignore Changes (server) permission to ignore changes. If that permission is not enabled, you cannot deliver ignored changes. You can modify that permission in the Project Area editor on the Process Configuration tab:

  1. In the Configuration section, expand the Team Configuration node, and then select Permissions.
  2. In the Permitted actions section, expand the Dependency Build node, and then select Ignore Changes (server).
  3. Click Save.

To prevent users from accidentally ignoring changes, project administrators can set the Prevent Unintended Ignored Changes precondition from the Project Area editor. The change set delivery does not fail for the first person who set the file to be ignored. If the change is supposed to be ignored and the project administrator configured the precondition with theUser may overrule option, you can override the failure.

  1. Open your project area, and then open the Process Configuration tab.
  2. In the Configuration section, expand the Team Configuration node, and then click Operation Behavior.
  3. In the Operations table, expand the Source Control node and select the Everyone cell next to Deliver (client).
  4. Select the Preconditions and follow-up actions are configured for this operation check box.
  5. In the Preconditions field, click Add. The Add Preconditions wizard opens.
  6. In the Add Preconditions wizard, select Prevent Unintended Ignored Changes, and then click OK. The project administrator should always select this option.
  7. Click Save.
Note: If you rebuild a program that depends on the ignored file, the most recent version of that ignored file is loaded, even if you want to ignore its changes.

Procedure

  1. To ignore changed files in dependency builds:
    1. In the Pending Changes view, select any files that contain changes that you want to ignore in a dependency build. You can select more than one file by pressing Shift or Ctrl and selecting the files.
    2. Right-click the selected file or files and click Ignore Changes During Dependency Build.
    3. This message is displayed: Changes to the selected file(s) will be ignored when determining which programs to build during dependency builds. Are you sure these changes do not necessitate a rebuild? If you want to ignore the changes, click Yes.
    4. The files that you select to ignore will have unresolved outgoing changes with "Modified property" indicated for the change. Right-click and click Check-in and Deliver or Check-in.
  2. To change the property of a file so that changes are recognized during dependency builds:
    • If you changed the file and want to check it in and deliver it, in the Pending Changes view, right-click the file and click Recognize Changes During Dependency Build.
    • If the file does not have changes to deliver:
      1. In the Package Explorer perspective, right-click the file and click Properties.
      2. In the Properties pane, expand Jazz Source Control and click User Properties.
      3. Select Ignore Changes for Dependency Build and click Remove Properties.
      4. Click Apply and OK.
      5. Deliver the file.

video icon Video

Jazz.net channel
Software Education channel

learn icon Courses

IoT Academy
Skills Gateway

ask icon Community

Jazz.net
Jazz.net forums
Jazz.net library

support icon Support

IBM Support Community
Deployment wiki