Refreshing the contents of a BAR file

Refresh the contents of a BAR file by rebuilding it in the BAR file editor.

Before you begin

You must have created a BAR file and added files to it. For more information, see Creating a BAR file and Adding resources to a BAR file.

About this task

If you change resources that you added to your BAR file, the BAR file is inconsistent, and is shown with an "out-of-sync" icon Inconsistent in the Application Development view. The BAR file is also inconsistent if any changes are made to the container (integration project, application, or library) to which the resources belong. For example, the BAR file is inconsistent if a new message flow is added to an application where existing resources from the application are in the BAR file.

If you want to rename a deployed resource, see Renaming resources that are deployed to integration servers.

To refresh the contents of a BAR file before you deploy it, complete the following steps.

Procedure

  1. Open the BAR file.
    The contents of the BAR file are shown on the Manage tab of the BAR File editor.
  2. To refresh all the resources in the BAR file on the Manage tab, click Rebuild existing BAR entries Build.

    A dialog box opens, showing progress. When the operation is complete, click Details to see information about what was refreshed.

    Alternatively, you can refresh the archive contents by right-clicking a BAR file in the Application Development view and selecting Build and Save BAR. The BAR file is rebuilt in the background.

    You can view the user and service logs on the User Log and Service Log tabs of the BAR File editor. Clear the contents of logs by clicking Remove (Clear).

  3. Optional: To view details about the build of an individual deployable resource on the Manage tab, right-click the resource and click Details.
    The Properties view opens and the Details tab is displayed. The Details tab shows the following details about the deployable resource:
    • The workspace resource, with references to the linked workspace resources (for example, .msgflow .mset, .xml, and .xslt files).
    • The status of the last compilation, which shows the user log entry for the last compilation.

What to do next

Deploy the BAR file by following the instructions in Deploying integration solutions to a production environment or Redeploying integration solutions to a production environment.