Importing an Existing Project from the CLI

You can import projects from earlier versions or same version using the studio-tools command line utility.

After importing using the command line utility an additional procedure is required before you can work with the project in TIBCO BusinessEvents Studio.

Utility

BE_HOME/studio/bin/studio-tools

Command

studio-tools -core importExistingProject [-h] -p studioProjDir [-o targetProjDir] [-c CDDprojectPath] [-u PUNameFromCDD] [-xp 1.0|2.0]

Example

studio-tools -core importExistingProject -p C:\FT\SomeProj -o c:\MyWorkspace\SomeProj -c COM.cdd -u Invproc -xp 2.0

Options

importExistingProject Options
Option Description
-core importExistingProject Specifies the importExistingProject operation for importing a TIBCO BusinessEvents Studio project into the workspace.
-h Optional. Displays help.
-p Source project: absolute path to the project directory of the TIBCO BusinessEvents Studio project to be imported.
-o Optional. Absolute path to the target project directory, where the project is imported to.

If you specify the source project directory name as the last element in the path, it is used as the target project directory. If you specify a different directory as the last element in the path, the directory is created if it does not exist, and the source project directory is imported within the specified target directory.

If you do not specify a target project directory, the original project contents are updated. If the project to be imported is a older TIBCO BusinessEvents project, it is no longer compatible with the older version after the import.

If the target location points to an existing project, the import does not proceed and this message displays:

The specified target location already exists and cannot be used.
-c Optional. The CDD to use for migration actions. Project path of the CDD (path relative to the root directory of the source project).
-u Optional. If specified, then the -c option must also be specified. Specifies the name of the PU (within the specified CDD) that contains settings to be migrated.

HTTP channel settings from this PU are migrated to all HTTP channel resources in the project.

-xp Optional. The XPath version to be compatible with the project. The values are:
  • (default) 1.0
  • 2.0