Creating a BAR file

Create a separate BAR file for each configuration that you want to deploy.

About this task

When you are ready to deploy your solution to a production environment, you can package the resources into a BAR file. You can add applications and libraries to the BAR file. If your solution contains message flows or other resources that are in an integration project, you can add these resources individually. If you have policies that can be used to override message flow and message flow node properties at run time, you also add them to the BAR file. When you have added all the resources that are required by your solution to your bar file, you can deploy the BAR file to an integration server.

The following instructions describe how to create a BAR file.

Creating a BAR file with the IBM App Connect Enterprise Toolkit

About this task

When you create a BAR file by using the IBM® App Connect Enterprise Toolkit, by default it is created in an integration project called BARfiles. In the Application Development view, the new BAR file is shown under the BARfiles integration project, in a folder called BARs. You can customize the default location of BAR files by setting a preference (Window > Preferences > Integration Development > Build BAR).

To create a BAR file by using the IBM App Connect Enterprise Toolkit, complete the following steps:

Procedure

  1. Click File > New > BAR file.
  2. Select the location for your BAR file.

    You can select an existing application, library, or integration project, or you can create a new integration project by clicking New.

  3. Enter a name for the BAR file that you are creating.
  4. Click Finish.

Results

A file with a .bar extension is created and is displayed under the application, library, or integration project, in a folder called BARs. The BAR File editor opens. All BAR files are also shown in a separate category in the Application Development view called BARs. Each BAR file that is listed here displays information about the project in which the BAR file is stored.

What to do next

Add files to the BAR file by following the instructions in Adding resources to a BAR file.