Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# Importing an Existing Project from the CLI

You can import projects from earlier versions or the 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.

Procedure
1. Navigate to ``BE_HOME```/studio/bin/`.
2. Open the `studio-tools` utility.
3. On the command prompt, run the following command:

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

   For example:

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

   Note: When you import a BusinessEvents project from 6.3.1 pr previous versions, then by default `pom.xml` is generated. If the project `pom.xml` already exists, then it creates a backup copy, `projectname_backup_pom.xml`. Eventually, there will be a single pom.xml for the specified project.

## Options

The following table describes the command parameters:

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: Specifies the absolute path to the project directory of the TIBCO BusinessEvents Studio project to be imported.
`-o` | (Optional). Specifies the absolute path to the target project directory, where the project is imported to. The target project directory is the source project directory name specified as the last element in the path. But if you specify a different directory as the last element in the path, the directory is created if it does not exist. The source project directory is imported within the specified target directory. The original project contents are updated if a target project directory is not specified. If the project to be imported is an 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

What to do next Open the Imported Project in TIBCO BusinessEvents Studio
Subtopics

Did you find this helpful?

YesNo
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.