Copyright © TIBCO Software Inc. All Rights Reserved |
This option is equivalent to the following menu option in TIBCO BusinessEvents Studio: File > Import > TIBCO BusinessEvents > Existing TIBCO BusinessEvents 4.0 Project. It is used to migrate 4.x projects to 5.0. When you run this command-line utility, various migration actions are done, as explained in Migration from 4.x to 5.0 — Automatic Migration Changes in TIBCO BusinessEvents Installation.Before you can use a 4.x project imported at the command-line in TIBCO BusinessEvents Studio you must do another procedure, explained in To Open a Project Imported at the Command Line in TIBCO BusinessEvents Studio.
1. Navigate to BE_HOME/studio/bin/ and open a command prompt.studio-tools -op importExistingProject [-h] -p studioProjDir [-o targetProjDir] [-c CDDprojectPath] [-u PUNameFromCDD]studio-tools -op importExistingProject -p C:\FT\SomeProj -o c:\MyWorkspace\SomeProj -c COM.cdd -u InvprocIf HTTP channel properties are migrated (from a specified CDD and processing unit to all HTTP channel resources’ Advanced tab) you see a message like this:Migrating HTTP properties of Processing Unit "PUName" from CDD "CDDprojectPath" to HTTPChannel(s) present in the projectWhen the import has completed successfully, you see a message in the command window like the following:The existing 4.0 TIBCO BusinessEvents project has been successfully imported to c:\MyWorkspace\SomeProj.Table 6, TIBCO BusinessEvents Studio Tools Options for Importing an Existing Project (Cont’d), provides detailed information about the options.
-op importExistingProject Specifies the importExistingProject operation for importing a TIBCO BusinessEvents Studio project into the workspace. Source project: absolute path to the project directory of the TIBCO BusinessEvents Studio project to be imported. 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 TIBCO BusinessEvents version 4 project, it is no longer compatible with version 4 after the import.If the target location points to an existing project, the import does not proceed and this message displays: Optional. The CDD to use for migration actions. Project path of the CDD (path relative to the root directory of the source project). Optional but if specified -c 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.
1. Start TIBCO BusinessEvents Studio. In Windows, click Start > All Programs > TIBCO > YourEnvironment > TIBCO BusinessEvents 5.0 > TIBCO BusinessEvents Studio.
2. From the File menu select New > Project. You see the New Project — Select a Wizard dialog.
3.
4. In the Project Name field, enter the directory name where the imported project is located. (This is used as the project name.)
5. (If you imported the project to a directory in your default workspace, skip this step.) If the project directory is located outside the default workspace, uncheck the Use default location checkbox and browse to the parent directory of the project imported at the command line.
6. Click Finish. The project folders appear in the Studio Explorer view.
Copyright © TIBCO Software Inc. All Rights Reserved |