Create a separate BAR file for each configuration that you want to deploy.
When you create a BAR file by using the IBM Integration 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 ( ).
To create a BAR file by using the IBM Integration Toolkit, complete the following steps:
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.
Add files to the BAR file by following the instructions in Adding resources to a BAR file.
To create a BAR file by using the mqsicreatebar command, complete the following steps.
If you want to use the mqsipackagebar command to create your BAR file, you must compile any message sets or Java™ code before you create the BAR file. For more information, see Packaging resources that include Java code or message sets.
You can create BAR files on computers that do not have IBM Integration Bus installed by using the mqsipackagebar command. To configure your environment so that you can run the mqsipackagebar command on a computer that does not have IBM Integration Bus installed, see Configuring environments without IBM Integration Bus installed.
When you create BAR files by using the mqsipackagebar command, add only deployable resources to ensure that your BAR file can be deployed.
To create a BAR file on z/OS® by using the mqsipackagebar command, customize and submit BIPPACK; see Contents of the integration node PDSE; on all other platforms, complete the following steps: