Use the mqsicreatebar command to create deployable broker archive files containing message flows.
If you choose to use a repository to store your message flows, you can write scripts to deploy the message flow applications using the mqsicreatebar command and the repository's command line tools.
The workspace location is also the default location for projects. Relative paths are interpreted as being relative to the directory from which the command was started.
If a project that you specify is not currently part of your workspace, the command links the project to the workspace so that the files in the project can be included in the BAR file. The command does not copy the files into your workspace directory.
If a project that you specify is part of your workspace but is currently closed, the command opens and builds the project so that the files in the project can be included in the BAR file.
You can add more than one deployable file to this command by using the following format: -o FilePath1 FilePath2 .... FilePath'n'
On Linux on x86, the user ID must have write access to the -data (workspace) and -b (BAR file location) directories.
On Windows, the user ID used to invoke this command must have Administrator authority on the local system.
You must run the command from the eclipse directory.
The default location of the eclipse directory
is C:\Program Files\IBM\MessageBrokersToolkit\6.0\ibtoolkit\eclipse on Windows: on Linux on x86 it is /opt/IBM/wmbt_prod/eclipse.
mqsicreatebar -data C:\Workspace -b myflow.bar -p TestFlowProject -o TestFlowProject\TestFlow\Test.msgflow