This topic contains sections marked as revised for this release
The mqsicreatebar command provides a command line compiler that creates deployable broker archive files containing message flows and dictionaries.
Although you do not have to use a repository, if you do use a repository to store your message flows and dictionaries, 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 Windows, the user ID used to invoke this command must have Administrator authority on the local system. On Linux, the user ID must have write access to the -data (workspace) and -b (bar file location) directories.
You must run the command from the eclipse directory. The default location of the eclipse directory on Windows is C:\Program Files\IBM\MessageBrokersToolkit\6.0\eclipse
mqsicreatebar -data C:\Workspace -b myflow.bar -p TestFlowProject -o TestFlowProject\TestFlow\Test.msgflow
mqsicreatebar -data C:\Workspace -b mySet.bar -o TestSetProject\TestSet\messageSet.mset
mqsicreatebar -data C:\Workspace -b mySet.bar -o TestFlowProject\TestFlow\Test.msgflow
TestSetProject\TestSet\messageSet.mset