ibmint package command

Use the ibmint package command to package resources into a bar file.

Usage notes

  • Your installed version of IBM® App Connect Enterprise must be 12.0.1.0 or later to be able to run the ibmint package command.

Supported platforms

  • Windows
  • Linux®
  • Linux on POWER®
  • Linux on Z
  • AIX®
  • IBM z/OS® Container Extensions (zCX)

Purpose

You can use the ibmint package command to package resources into a bar file in preparation for deploying the bar file.

Syntax

Read syntax diagramSkip visual syntax diagramibmint package --input-bar-file filePath --input-path directory --output-bar-file filePath --overrides-file filePath --keywords-file filePath --do-not-compile-java  --compile-maps-and schemas  --project projectName --trace filePath --help 

Parameters

inputSource
The input source for the command.

'inputSource' Must be at least one of the following values (a), or (b):

(a)--input-bar-file filePath
The name of the input BAR file to compile and package.
(b)--input-path directory
The directory to scan for resources to compile and package.
--output-bar-file filePath
The name of the output BAR file to write the content to.
--overrides-file filePath
(Optional) The name of the file that contains the overrides to apply.
--keywords-file filePath
(Optional) The path of the file that contains the keywords to apply.
--do-not-compile-java
(Optional) Prevent compilation of Java resources.
--compile-maps-and-schemas
(Optional) Enable compilation of maps and schemas.
--project projectName
(Optional) The name of the project to package. If you do not specify a project, all available projects are packaged. If you specify a project that does not exist, nothing is packaged and the command fails.
--trace filePath
(Optional) Use this parameter to send verbose internal trace to the specified file.
--help
(Optional) Use this parameter to display help information about the command.

Examples

Package the contents of the directory C:\myResources into the BAR file C:\bars\myBAR:
ibmint package --input-path C:\myResources --output-bar-file C:\bars\myBAR  
Package the contents of the BAR file C:\myBARS\input.bar into the BAR file C:\myBARS\output.bar. Prevent compilation of Java resources:
ibmint package --input-bar-file C:\myBARS\input.bar --output-bar-file C:\myBARS\output.bar --do-not-compile-java 
Package the contents of the BAR file C:\myBARS\input.bar into the BAR file C:\myBARS\output.bar. Apply the overrides from the file C:\myFiles\overrides.txt, prevent compilation of Java resources, and send verbose internal trace to the specified file:
ibmint package --input-bar-file C:\myBARS\input.bar --output-bar-file C:\myBARS\output.bar --overrides-file C:\myFiles\overrides.txt --do-not-compile-java --trace C:\files\mytracefile.txt 
Package myproject:
ibmint package --input-path ./IBM/ACET12/workspace --output-bar my.bar --project myproject